Files
OpenCL-CTS/test_conformance
Harald van Dijk 80a02cbd48 Disable implicit conversion of copysign arguments. (#1970)
In binary_float.cpp, copysign is special cased. All the reference
functions there take double arguments, except for reference_copysign
which takes float. This commit copies that approach to special case
copysign in binary_double.cpp as well: all the reference functions there
take long double arguments, but this commit changes reference_copysignl
to take double. The rationale for this in binary_float applies equally
to binary_double: conversions of NAN are not required to preserve its
sign bit. On architectures where conversion of NAN resets the sign bit,
copysign fp64 would return incorrect reference results.
2024-06-25 09:42:58 -07:00
..
2023-05-03 09:16:21 +01:00
2024-03-27 14:46:27 +01:00