diff options
author | Tanner Gooding <tagoo@outlook.com> | 2018-11-12 10:51:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 10:51:16 -0800 |
commit | a49296e266ae9aa0bee760f2fcf51d3497ba818d (patch) | |
tree | 63c1aa67c9d759f55371e078ef8fd712b9391848 /cross | |
parent | cab9d87ee3244d84ffac29a0379a22525839f2a1 (diff) | |
download | coreclr-a49296e266ae9aa0bee760f2fcf51d3497ba818d.tar.gz coreclr-a49296e266ae9aa0bee760f2fcf51d3497ba818d.tar.bz2 coreclr-a49296e266ae9aa0bee760f2fcf51d3497ba818d.zip |
Some cleanup of the Math functions from #20788 (#20912)
* Fixing Max, MaxMagnitude, Min, and MinMagnitude for Math/MathF to be IEEE compliant
* Disabling the System.Math.Max/Min tests
* Adding the new c_runtime PAL tests to the CMakeLists to ensure they actually get run.
* Fixing the casing of IlogB to ILogB
* Fixing the new PAL tests to match the correct/expected outputs
* Fixing up PAL_ilogb to correctly handle 0 and NaN
Diffstat (limited to 'cross')
-rw-r--r-- | cross/android/arm/tryrun.cmake | 8 | ||||
-rw-r--r-- | cross/android/arm64/tryrun.cmake | 8 | ||||
-rw-r--r-- | cross/tryrun.cmake | 2 |
3 files changed, 18 insertions, 0 deletions
diff --git a/cross/android/arm/tryrun.cmake b/cross/android/arm/tryrun.cmake index bcc2cd202c..69b7158b4e 100644 --- a/cross/android/arm/tryrun.cmake +++ b/cross/android/arm/tryrun.cmake @@ -6,6 +6,14 @@ SET( HAVE_COMPATIBLE_EXP_EXITCODE 1 CACHE STRING "Result from TRY_RUN" FORCE) +SET( HAVE_COMPATIBLE_ILOGB0_EXITCODE + 0 + CACHE STRING "Result from TRY_RUN" FORCE) + +SET( HAVE_COMPATIBLE_ILOGBNAN_EXITCODE + 0 + CACHE STRING "Result from TRY_RUN" FORCE) + SET( REALPATH_SUPPORTS_NONEXISTENT_FILES_EXITCODE 1 CACHE STRING "Result from TRY_RUN" FORCE) diff --git a/cross/android/arm64/tryrun.cmake b/cross/android/arm64/tryrun.cmake index f32065a3bc..93a225009d 100644 --- a/cross/android/arm64/tryrun.cmake +++ b/cross/android/arm64/tryrun.cmake @@ -2,6 +2,14 @@ SET( HAVE_COMPATIBLE_EXP_EXITCODE 1 CACHE STRING "Result from TRY_RUN" FORCE) +SET( HAVE_COMPATIBLE_ILOGB0_EXITCODE + 0 + CACHE STRING "Result from TRY_RUN" FORCE) + +SET( HAVE_COMPATIBLE_ILOGBNAN_EXITCODE + 0 + CACHE STRING "Result from TRY_RUN" FORCE) + SET( REALPATH_SUPPORTS_NONEXISTENT_FILES_EXITCODE 1 CACHE STRING "Result from TRY_RUN" FORCE) diff --git a/cross/tryrun.cmake b/cross/tryrun.cmake index d0bd77dc97..47aa7b4ba7 100644 --- a/cross/tryrun.cmake +++ b/cross/tryrun.cmake @@ -23,6 +23,8 @@ if(TARGET_ARCH_NAME MATCHES "^(armel|arm|arm64|x86)$") set_cache_value(HAVE_COMPATIBLE_ACOS_EXITCODE 0) set_cache_value(HAVE_COMPATIBLE_ASIN_EXITCODE 0) set_cache_value(HAVE_COMPATIBLE_ATAN2_EXITCODE 0) + set_cache_value(HAVE_COMPATIBLE_ILOGB0_EXITCODE 0) + set_cache_value(HAVE_COMPATIBLE_ILOGBNAN_EXITCODE 0) set_cache_value(HAVE_COMPATIBLE_LOG10_EXITCODE 0) set_cache_value(HAVE_COMPATIBLE_LOG_EXITCODE 0) set_cache_value(HAVE_COMPATIBLE_POW_EXITCODE 0) |