Source-Changes archive

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

CVS commit: [netbsd-10] src/lib/libm/src



Module Name:    src
Committed By:   martin
Date:           Mon Oct 14 15:41:30 UTC 2024

Modified Files:
        src/lib/libm/src [netbsd-10]: s_nextafter.c s_nexttowardf.c

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

        lib/libm/src/s_nextafter.c: revision 1.17
        lib/libm/src/s_nexttowardf.c: revision 1.4

libm: Make s_nexttowardf.c work when long double is double.
Seems likely that there are other parts of libm which would benefit
from being defined unconditionally in terms of ieee_ext_u, with
ieee_ext_u as an alias for ieee_double_u, in this scenario.  But I
haven't gone looking yet.

libm: If long double is double, nexttowardl is nextafter.
long double nexttowardl(long double, long double);
double nextafter(double, double);


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.16.14.1 src/lib/libm/src/s_nextafter.c
cvs rdiff -u -r1.3 -r1.3.44.1 src/lib/libm/src/s_nexttowardf.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