CVS log for src/tests/lib/libm/t_fe_round.c
Up to [cvs.NetBSD.org] / src / tests / lib / libm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed May 15 00:02:57 2024 UTC (8 months ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -8
lines
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
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu May 9 12:18:28 2024 UTC (8 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +23 -127
lines
tests/lib/libm/t_fe_round.c: Tidy.
nextafter/nexttoward tests didn't make much sense, and are now
supplanted by t_next.
PR misc/58054
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed May 8 22:59:07 2024 UTC (8 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -0
lines
tests/lib/libm/t_fe_round: xfail for modfl uses.
PR lib/58237: modfl returns wrong answers on ld128 architectures
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun May 5 23:08:53 2024 UTC (8 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +13 -0
lines
tests/lib/libm/t_fe_round.c: Work around likely ia64 bug in gcc.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri May 3 21:40:51 2024 UTC (8 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +322 -110
lines
tests/lib/libm/t_fe_round.c: Expand nearbyint/rint tests.
PR lib/58054
Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu May 2 16:52:08 2024 UTC (8 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1
lines
tests/lib/libm/t_fe_round: Fix a missed cast.
Need long long or intmax_t, not long, on LP32.
PR lib/58054
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu May 2 16:51:55 2024 UTC (8 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +13 -9
lines
tests/lib/libm/t_fe_round: Tidy up nearbyintl, sync nearbyint test.
PR lib/58054
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu May 2 11:55:49 2024 UTC (8 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -13
lines
tests/lib/libm/t_fe_round.c: Simplify previous.
There is never any need to write casts to type T in integer constant
initializers for type T.
PR lib/58054
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu May 2 03:30:07 2024 UTC (8 months, 2 weeks ago) by kre
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +15 -10
lines
Use intmax_t instead of long int when trying to represent very large
integers (10^50 or so), so we don't exceed the capacity of systems where
long int is only 32 bits.
Hopefully will unbreak the i386 build, perhaps others.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu May 2 00:01:48 2024 UTC (8 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +58 -0
lines
tests/lib/libm/t_fe_round: Test nearbyintl.
This uses inputs that can't be distinguished with only 53 bits of
precision, so it should work in essentially all long double formats
to detect when nearbyintl is incorrectly implemented in terms of
nearbyint.
PR lib/58054
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu May 2 00:00:47 2024 UTC (8 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +33 -12
lines
tests/lib/libm/t_fe_round: Tidy up nearbyint test.
Prompted by PR lib/58054.
Revision 1.2.8.2: download - view: text, markup, annotated - select for diffs
Tue Aug 29 11:58:26 2017 UTC (7 years, 4 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.2.8.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.8.1: +90 -1
lines
Pull up the following, requested by he in ticket #217:
lib/libm/Makefile 1.197-1.201
tests/lib/libm/t_fe_round.c 1.7
Ensure nexttowardf() is included on all IEEE targets.
Add rintl() for aarch64 and mips, and nexttoward() for m68k.
Add a test which verifies that nextafter() and nexttoward() are
present in the implementation.
Revision 1.2.8.1: download - view: text, markup, annotated - select for diffs
Tue Aug 29 11:45:18 2017 UTC (7 years, 4 months ago) by martin
Branches: netbsd-8
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +46 -1
lines
Pull up the following, requested by he in ticket #212:
lib/libm/Makefile 1.192-1.196
tests/lib/libm/t_fe_round.c 1.3-1.6
Ensure that nearbyint() is included in all targets except for vax,
and add a test case for nearbyint(), stubbed out for non-IEEE (vax).
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Aug 21 17:11:18 2017 UTC (7 years, 4 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +0 -4
lines
don't skip nexttoward for aarch64 and mips64
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Aug 20 08:25:47 2017 UTC (7 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -0
lines
fix build (missing nexttoward on mips64 and aarch64)
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Aug 17 09:14:28 2017 UTC (7 years, 5 months ago) by he
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +90 -1
lines
Add test cases for nextafter() and nexttoward(). At the moment no
corner cases are tested, and the test cases are little more than a
verification that the functions are present in the implementation.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Aug 11 20:31:58 2017 UTC (7 years, 5 months ago) by he
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +45 -0
lines
Re-enable the test for nearbyint(), now that all ports (save vax,
which has a separate #if section here) should have nearbyint().
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jul 25 21:26:56 2017 UTC (7 years, 5 months ago) by uwe
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -43
lines
Revert previous as it breaks at least sparc and hpcsh builds.
nearbyint() is not included in libm on all platforms.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jul 24 18:14:46 2017 UTC (7 years, 5 months ago) by he
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +43 -1
lines
Add a test checking nearbyint(), using the same table as used by
the existing lrint() test.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jul 24 18:13:36 2017 UTC (7 years, 5 months ago) by he
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -1
lines
Swap around the two last args to the check for expected fegetround(),
so the error message makes sense.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:55 2017 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +124 -0
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.2.2.1
Tue Dec 20 06:07:38 2016 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
FILE REMOVED
Changes since revision 1.2: +0 -124
lines
file t_fe_round.c was added on branch pgoyette-localcount on 2017-01-07 08:56:55 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Dec 20 06:07:38 2016 UTC (8 years ago) by maya
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-localcount,
netbsd-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1
lines
use labs for absolute value of long
should fix arm build
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Dec 19 17:38:24 2016 UTC (8 years ago) by maya
Branches: MAIN
add test for fesetround/fegetround that uses lrint (and tests it a bunch).
It doesn't fail on amd64.
CVSweb <webmaster@jp.NetBSD.org>