[libclc] r315170 - ldexp: Fix double precision function return type
Jan Vesely via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 7 23:56:14 PDT 2017
Author: jvesely
Date: Sat Oct 7 23:56:14 2017
New Revision: 315170
URL: http://llvm.org/viewvc/llvm-project?rev=315170&view=rev
Log:
ldexp: Fix double precision function return type
Fixes ~1200 external calls from nvtpx library.
Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Modified:
libclc/trunk/generic/include/math/clc_ldexp.h
Modified: libclc/trunk/generic/include/math/clc_ldexp.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/math/clc_ldexp.h?rev=315170&r1=315169&r2=315170&view=diff
==============================================================================
--- libclc/trunk/generic/include/math/clc_ldexp.h (original)
+++ libclc/trunk/generic/include/math/clc_ldexp.h Sat Oct 7 23:56:14 2017
@@ -2,5 +2,5 @@ _CLC_DEF _CLC_OVERLOAD float __clc_ldexp
#ifdef cl_khr_fp64
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
- _CLC_DEF _CLC_OVERLOAD float __clc_ldexp(double, int);
+ _CLC_DEF _CLC_OVERLOAD double __clc_ldexp(double, int);
#endif
More information about the cfe-commits
mailing list