This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Update README.libm-test [committed]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Fri, 20 Jan 2017 23:25:46 +0000
- Subject: Update README.libm-test [committed]
- Authentication-results: sourceware.org; auth=none
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.
Committed.
2017-01-20 Joseph Myers <joseph@codesourcery.com>
* math/README.libm-test: Update list of characters for input and
output types.
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
===========================
--
Joseph S. Myers
joseph@codesourcery.com