aboutsummaryrefslogtreecommitdiff
path: root/math/README.libm-test
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-01-20 23:25:13 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-01-20 23:25:13 +0000
commit76475eae8fe220b3ea1e253e7f473cb5147d98f1 (patch)
tree1cec829773e54c77a4affcc78b3ec2b6c6866395 /math/README.libm-test
parenteb1321f291515dae75c83a40c39e775fdd38e97a (diff)
downloadglibc-76475eae8fe220b3ea1e253e7f473cb5147d98f1.zip
glibc-76475eae8fe220b3ea1e253e7f473cb5147d98f1.tar.gz
glibc-76475eae8fe220b3ea1e253e7f473cb5147d98f1.tar.bz2
Update README.libm-test.
This patch updates math/README.libm-test to have a more complete and up-to-date list of the characters used in TEST_* macros to indicate the types of function inputs and outputs. * math/README.libm-test: Update list of characters for input and output types.
Diffstat (limited to 'math/README.libm-test')
-rw-r--r--math/README.libm-test8
1 files changed, 8 insertions, 0 deletions
diff --git a/math/README.libm-test b/math/README.libm-test
index 4fa675c..69e2d3f 100644
--- a/math/README.libm-test
+++ b/math/README.libm-test
@@ -117,6 +117,7 @@ parameter.
The accepted parameter types are:
- "f" for FLOAT
+- "j" for long double.
- "b" for boolean - just tests if the output parameter evaluates to 0
or 1 (only for output).
- "c" for complex. This parameter needs two values, first the real,
@@ -124,8 +125,15 @@ The accepted parameter types are:
- "i" for int.
- "l" for long int.
- "L" for long long int.
+- "u" for unsigned int.
+- "M" for intmax_t.
+- "U" for uintmax_t.
+- "p" for an argument (described in the previous character) passed
+ through a pointer rather than directly.
- "F" for the address of a FLOAT (only as input parameter)
- "I" for the address of an int (only as input parameter)
+- "1" for an additional output (either output through a pointer passed
+ as an argument, or to a global variable such as signgam).
How to read the test output
===========================