diff --git a/sycl/include/sycl/stl_wrappers/__sycl_cmath_wrapper_impl.hpp b/sycl/include/sycl/stl_wrappers/__sycl_cmath_wrapper_impl.hpp index a3fa64dd59bd8..03ec1a127f58e 100644 --- a/sycl/include/sycl/stl_wrappers/__sycl_cmath_wrapper_impl.hpp +++ b/sycl/include/sycl/stl_wrappers/__sycl_cmath_wrapper_impl.hpp @@ -389,7 +389,7 @@ __SYCL_DEVICE float nearbyint(float x) { return __builtin_nearbyintf(x); } // Floating-point manipulation functions using ::frexp; using ::frexpf; -__SYCL_DEVICE double frexp(float x, int *exp) { +__SYCL_DEVICE float frexp(float x, int *exp) { return __spirv_ocl_frexp(x, exp); } template __SYCL_DEVICE __sycl_promote_t frexp(T x, int *exp) {