This unifies naming scheme of macros to address review comment https://github.com/intel/llvm/pull/19779#discussion_r2272194357 math constant value macros are not changed, e.g. `#define AU0 -9.86494292470009928597e-03`
21 lines
727 B
Common Lisp
21 lines
727 B
Common Lisp
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include <clc/math/clc_ldexp.h>
|
|
#include <clc/opencl/math/ldexp.h>
|
|
|
|
#define __CLC_FUNCTION ldexp
|
|
#define __CLC_IMPL_FUNCTION(x) __clc_ldexp
|
|
#define __CLC_BODY <clc/shared/binary_def_with_int_second_arg.inc>
|
|
|
|
#include <clc/math/gentype.inc>
|
|
|
|
// This defines all the ldexp(GENTYPE, int) variants
|
|
#define __CLC_BODY <ldexp.inc>
|
|
#include <clc/math/gentype.inc>
|