OpenGrok
Cross Reference: t_modf.c
xref
: /
src
/
tests
/
lib
/
libm
/
t_modf.c
Home
|
History
|
Annotate
|
Download
|
only in
libm
History log of
/src/tests/lib/libm/t_modf.c
Revision
Date
Author
Comments
1.6
15-May-2024
riastradh
modfl(3): Fix conversion from FreeBSD.
LDBL_MANL_SIZE is spelled EXT_FRACLBITS -- and not EXT_FRACHBITS.
PR lib/58237: modfl returns wrong answers on ld128 architectures
1.5
08-May-2024
riastradh
tests/lib/libm/t_modf: Mark modfl xfail on ld128.
PR lib/58237: modfl returns wrong answers on ld128 architectures
1.4
06-May-2024
riastradh
tests/lib/libm/t_modf: Use isinf(INFINITY) to detect inf support.
Apparently VAX defines the INFINITY macro even though it's not
actually an infinity and isinf returns zero for it.
1.3
06-May-2024
riastradh
tests/lib/libm/t_modf: Check sign of modf on infinities too.
Normally I don't like CHECK(A && B) and favour CHECK(A); CHECK(B)
instead, so you can see which one failed, but in this case the inputs
are displayed anyway so we don't lose anything unless the
floating-point printer is broken.
1.2
06-May-2024
riastradh
tests/lib/libm/t_modf.c: Expand modf/modff/modfl tests.
1. Exercise more edge cases around the largest exponent that can
represent non-integers.
2. - Verify modf can handle all cases modff can.
- Veriy modf can handle some cases modff can't.
- Verify modfl can handle all cases modf or modff can.
- If long double isn't just double, verify modfl can handle some
cases modf and modff can't.
3. Check infinities and NaN.
4. Verify oddness, i.e., modf(-x) = -modf(x).
5. Display more useful diagnostics in case any of this goes wrong.
1.1
16-Jun-2014
joerg
branches: 1.1.2; 1.1.6;
Add modfl(3). From FreeBSD.
1.1.6.2
20-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.1.6.1
16-Jun-2014
tls
file t_modf.c was added on branch tls-maxphys on 2014-08-20 00:04:50 +0000
1.1.2.2
10-Aug-2014
tls
Rebase.
1.1.2.1
16-Jun-2014
tls
file t_modf.c was added on branch tls-earlyentropy on 2014-08-10 06:57:22 +0000
Indexes created Wed Oct 01 19:09:53 GMT 2025