about summary refs log tree commit diff
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
parenteb1321f291515dae75c83a40c39e775fdd38e97a (diff)
downloadglibc-76475eae8fe220b3ea1e253e7f473cb5147d98f1.tar.gz
glibc-76475eae8fe220b3ea1e253e7f473cb5147d98f1.tar.xz
glibc-76475eae8fe220b3ea1e253e7f473cb5147d98f1.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--math/README.libm-test8
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d90569fd69..c600b440af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-01-20  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/README.libm-test: Update list of characters for input and
+	output types.
+
 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
 
 	* sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
diff --git a/math/README.libm-test b/math/README.libm-test
index 4fa675cc1b..69e2d3f1b6 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
 ===========================