]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Move comment from libm-test-nextdown.inc to libm-test-nexttoward.inc.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 8 Aug 2018 16:16:59 +0000 (16:16 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 8 Aug 2018 16:16:59 +0000 (16:16 +0000)
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.

ChangeLog
math/libm-test-nextdown.inc
math/libm-test-nexttoward.inc

index 556669a4aabeef2bfeb3104dba40de187677a11f..d3bb06f596b536136308c581170601a605fdf34a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-08-08  Joseph Myers  <joseph@codesourcery.com>
+
+       * math/libm-test-nextdown.inc (do_test): Move comment to ....
+       * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
+
 2018-08-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
        * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
index d87f6fcb3f8dc540fb943d0b8d322c05727a9cc3..54814d123c3771f5c20b832d61e7fdac89d467b2 100644 (file)
@@ -66,11 +66,6 @@ nextdown_test (void)
   ALL_RM_TEST (nextdown, 1, nextdown_test_data, RUN_TEST_LOOP_f_f, END);
 }
 
-
-/* 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 void
 do_test (void)
 {
index c71301ceebeef52e4bba56b4855f3b209bc178a9..edd69a2222d90c7913dd38be2144d0ed26a19b1a 100644 (file)
 
 #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