21 lines · plain
1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#include <clc/math/clc_ldexp.h>10#include <clc/opencl/math/ldexp.h>11 12#define __CLC_FUNCTION ldexp13#define __CLC_IMPL_FUNCTION(x) __clc_ldexp14#define __CLC_BODY <clc/shared/binary_def_with_int_second_arg.inc>15 16#include <clc/math/gentype.inc>17 18// This defines all the ldexp(GENTYPE, int) variants19#define __CLC_BODY <ldexp.inc>20#include <clc/math/gentype.inc>21