Some cleanup of the Math functions from #20788 (#20912)
authorTanner Gooding <tagoo@outlook.com>
Mon, 12 Nov 2018 18:51:16 +0000 (10:51 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Nov 2018 18:51:16 +0000 (10:51 -0800)
commita49296e266ae9aa0bee760f2fcf51d3497ba818d
tree63c1aa67c9d759f55371e078ef8fd712b9391848
parentcab9d87ee3244d84ffac29a0379a22525839f2a1
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
26 files changed:
cross/android/arm/tryrun.cmake
cross/android/arm64/tryrun.cmake
cross/tryrun.cmake
src/System.Private.CoreLib/shared/System/Math.cs
src/System.Private.CoreLib/shared/System/MathF.cs
src/System.Private.CoreLib/src/System/Math.CoreCLR.cs
src/System.Private.CoreLib/src/System/MathF.CoreCLR.cs
src/classlibnative/float/floatdouble.cpp
src/classlibnative/float/floatsingle.cpp
src/classlibnative/inc/floatdouble.h
src/classlibnative/inc/floatsingle.h
src/pal/src/config.h.in
src/pal/src/configure.cmake
src/pal/src/cruntime/math.cpp
src/pal/tests/palsuite/c_runtime/CMakeLists.txt
src/pal/tests/palsuite/c_runtime/fma/test1/test1.cpp
src/pal/tests/palsuite/c_runtime/fmaf/test1/test1.c
src/pal/tests/palsuite/c_runtime/ilogb/test1/test1.cpp
src/pal/tests/palsuite/c_runtime/ilogbf/test1/CMakeLists.txt
src/pal/tests/palsuite/c_runtime/ilogbf/test1/test1.cpp [moved from src/pal/tests/palsuite/c_runtime/ilogbf/test1/test1.c with 70% similarity]
src/pal/tests/palsuite/c_runtime/log2/test1/test1.cpp
src/pal/tests/palsuite/c_runtime/log2f/test1/test1.c
src/pal/tests/palsuite/paltestlist.txt
src/pal/tests/palsuite/palverify.dat
src/vm/ecalllist.h
tests/CoreFX/CoreFX.issues.json