ldexp: Fix double precision function return type
authorJan Vesely <jan.vesely@rutgers.edu>
Sun, 8 Oct 2017 06:56:14 +0000 (06:56 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Sun, 8 Oct 2017 06:56:14 +0000 (06:56 +0000)
Fixes ~1200 external calls from nvtpx library.

Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 315170

libclc/generic/include/math/clc_ldexp.h

index 477dbb22c3cc34eff41a761f6ef11fd21f2f649e..23ac25e34903883cb217ab1c84e7770ac9abb337 100644 (file)
@@ -2,5 +2,5 @@ _CLC_DEF _CLC_OVERLOAD float __clc_ldexp(float, int);
 
 #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