about summary refs log tree commit diff
path: root/math/libm-test-nexttoward.inc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-08-08 16:16:59 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-08-08 16:16:59 +0000
commit140137fb2d16bd362ef57a879145fc1f8240fca6 (patch)
tree00b7e45f576848f20a59c488e475672ea45d12d8 /math/libm-test-nexttoward.inc
parentb5403eca16581b0a9127a4c4052952d801270366 (diff)
downloadglibc-140137fb2d16bd362ef57a879145fc1f8240fca6.tar.gz
glibc-140137fb2d16bd362ef57a879145fc1f8240fca6.tar.xz
glibc-140137fb2d16bd362ef57a879145fc1f8240fca6.zip
Move comment from libm-test-nextdown.inc to libm-test-nexttoward.inc.
When libm tests were split into separate per-function .inc files, a
comment relating to the nexttoward tests ended up at the end of
libm-test-nextdown.inc (because the split was based on starting each
function's tests with the <function>_test_data definition, which
failed to allow for comments before such definitions).  This patch
moves that comment to the correct location.

Tested for x86_64.

	* math/libm-test-nextdown.inc (do_test): Move comment to ....
	* math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
Diffstat (limited to 'math/libm-test-nexttoward.inc')
-rw-r--r--math/libm-test-nexttoward.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/libm-test-nexttoward.inc b/math/libm-test-nexttoward.inc
index c71301ceeb..edd69a2222 100644
--- a/math/libm-test-nexttoward.inc
+++ b/math/libm-test-nexttoward.inc
@@ -18,6 +18,10 @@
 
 #include "libm-test-driver.c"
 
+/* Note, the second argument is always typed as long double.  The j type
+   argument to TEST_ indicates the literal should not be post-processed by
+   gen-libm-test.pl.  */
+
 static const struct test_fj_f_data nexttoward_test_data[] =
   {
 #if !TEST_FLOATN