Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/tests/lib/libm



Module Name:    src
Committed By:   martin
Date:           Tue Oct 15 13:27:11 UTC 2024

Modified Files:
        src/tests/lib/libm [netbsd-9]: t_next.c

Log Message:
Additionally pull up following revision(s) (requested by riastradh in ticket #1906):

        tests/lib/libm/t_next.c: revision 1.7

tests/lib/libm/t_next: Disable a test if long double is double.

This test, to verify nexttoward(x, x*(1 - LDBL_EPSILON/2)) moves in
the direction of x*(1 - LDBL_EPSILON/2), only makes sense if long
double has more precision than double -- the point of the exercise is
to verify that nexttoward moves even if the direction parameter can't
be rounded to double.  But if long double is just double, this test
makes no sense.


To generate a diff of this commit:
cvs rdiff -u -r1.7.6.2 -r1.7.6.3 src/tests/lib/libm/t_next.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index