diff options
Diffstat (limited to 'math/README.libm-test')
-rw-r--r-- | math/README.libm-test | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/math/README.libm-test b/math/README.libm-test index 442a47a..0271f83 100644 --- a/math/README.libm-test +++ b/math/README.libm-test @@ -33,17 +33,18 @@ processing are "libm-test-<func>.c" and a file "libm-test-ulps.h" with platform specific deltas by which the actual math function results may deviate from the expected results and still be considered correct. -The test drivers "test-double.c", "test-float.c", and "test-ldouble.c" -test the normal double, float and long double implementation of libm. -The test drivers with an 'i' in their name ("test-idouble.c", -"test-ifloat.c", and "test-ildoubl.c") test the corresponding inline -functions (where available - otherwise they also test the real -functions in libm). Each driver selects the desired real floating -type to exercise the math functions to test with (float, double, or -long double) by defining a small set of macros just before including -the generic "libm-test.c" file. Each driver also either defines or -undefines the __NO_MATH_INLINES macro just before including -"libm-test.c" to select either the real or inline functions, +The test drivers "test-double-<func>.c", "test-float-<func>.c", and +"test-ldouble-<func>.c", generated by the Makefile, test the normal +double, float and long double implementation of libm. The test +drivers with an 'i' in their name ("test-idouble-<func>.c", +"test-ifloat-<func>.c", and "test-ildoubl-<func>.c") test the +corresponding inline functions (where available - otherwise they also +test the real functions in libm). Each driver selects the desired +real floating type to exercise the math functions to test with (float, +double, or long double) by defining a small set of macros just before +including the generic "libm-test.c" file. Each driver also either +defines or undefines the __NO_MATH_INLINES macro just before including +"libm-test-<func>.c" to select either the real or inline functions, respectively. Each driver is compiled into a single executable test program with the corresponding name. |