diff options
| author | Jan Vesely <jan.vesely@rutgers.edu> | 2017-10-08 06:56:14 +0000 |
|---|---|---|
| committer | Jan Vesely <jan.vesely@rutgers.edu> | 2017-10-08 06:56:14 +0000 |
| commit | beb6591753a59bb42ce5be6c676153b686f0e280 (patch) | |
| tree | b103c81c8fe73a809abff38cf6bbdaa5605ac344 /libclc/generic/include/math | |
| parent | e03ba023482bf492caaa1e3e4945f9847cfaec15 (diff) | |
| download | bcm5719-llvm-beb6591753a59bb42ce5be6c676153b686f0e280.tar.gz bcm5719-llvm-beb6591753a59bb42ce5be6c676153b686f0e280.zip | |
ldexp: Fix double precision function return type
Fixes ~1200 external calls from nvtpx library.
Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 315170
Diffstat (limited to 'libclc/generic/include/math')
| -rw-r--r-- | libclc/generic/include/math/clc_ldexp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libclc/generic/include/math/clc_ldexp.h b/libclc/generic/include/math/clc_ldexp.h index 477dbb22c3c..23ac25e3490 100644 --- a/libclc/generic/include/math/clc_ldexp.h +++ b/libclc/generic/include/math/clc_ldexp.h @@ -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 |

