CVS log for src/tests/lib/libm/Makefile
Up to [cvs.NetBSD.org] / src / tests / lib / libm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 13 15:09:57 2024 UTC (8 weeks, 2 days ago) by martin
Branches: netbsd-9
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +2 -1
lines
Pull up following revision(s) (requested by riastradh in ticket #963):
tests/lib/libm/Makefile: revision 1.49
distrib/sets/lists/tests/mi: revision 1.1315
tests/lib/libm/t_next.c: revision 1.1
tests/lib/libm/t_next.c: revision 1.2
distrib/sets/lists/debug/mi: revision 1.435
tests/lib/libm/t_next.c: revision 1.3
tests/lib/libm/t_next.c: revision 1.4
tests/lib/libm/t_next.c: revision 1.5
tests/lib/libm/t_next.c: revision 1.6
lib/libm/src/s_nexttoward.c: revision 1.3
(all via patch)
tests/lib/libm: Test nextafter/nexttoward and variants.
The tests are fairly trivial but should work without any conditionals
about floating-point formats.
tests/lib/libm/t_next: Disable this test on VAX.
But leave a replacement xfail test that fails unconditionally, to
leave a reminder in the tests of PR 57881: vax libm is missing
various symbols.
tests/lib/libm/t_next: Fix stub on VAX.
Tested building the wrong tree, oops.
tests/lib/libm/t_next: Expand substantially.
This covers many more potential problem areas -- and includes a new
xfail test for PR lib/58236: nexttoward(3) is broken on subnormals.
tests/lib/libm/t_next: nexttoward works if it's just nextafter.
It's broken on platforms where long double and double aren't the same
and nexttoward isn't an alias for nextafter.
nexttoward(3): Fix high-word test on small positive subnormals.
By this point in the logic, x can't be zero, so it's either positive
or negative.
The high word hx, however, can be zero, when x is a small positive
subnormal. This means x is a small positive subnormal, so if x > y
we are computing nextDown, and if x < y we are computing nextUp.
hx is a (signed 32-bit) integer, not a double floating-point number,
so it's a little silly to compare hx > 0.0. But that on its own
isn't enough to trigger the bug because all signed 32-bit integers
can be represented by double on all NetBSD architectures.
PR lib/58236
Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Sun Oct 13 15:05:17 2024 UTC (8 weeks, 2 days ago) by martin
Branches: netbsd-10
Diff to: previous 1.48.2.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.2: +2 -1
lines
Pull up following revision(s) (requested by riastradh in ticket #963):
tests/lib/libm/Makefile: revision 1.49
distrib/sets/lists/tests/mi: revision 1.1315
tests/lib/libm/t_next.c: revision 1.1
tests/lib/libm/t_next.c: revision 1.2
distrib/sets/lists/debug/mi: revision 1.435
tests/lib/libm/t_next.c: revision 1.3
tests/lib/libm/t_next.c: revision 1.4
tests/lib/libm/t_next.c: revision 1.5
tests/lib/libm/t_next.c: revision 1.6
lib/libm/src/s_nexttoward.c: revision 1.3
tests/lib/libm: Test nextafter/nexttoward and variants.
The tests are fairly trivial but should work without any conditionals
about floating-point formats.
tests/lib/libm/t_next: Disable this test on VAX.
But leave a replacement xfail test that fails unconditionally, to
leave a reminder in the tests of PR 57881: vax libm is missing
various symbols.
tests/lib/libm/t_next: Fix stub on VAX.
Tested building the wrong tree, oops.
tests/lib/libm/t_next: Expand substantially.
This covers many more potential problem areas -- and includes a new
xfail test for PR lib/58236: nexttoward(3) is broken on subnormals.
tests/lib/libm/t_next: nexttoward works if it's just nextafter.
It's broken on platforms where long double and double aren't the same
and nexttoward isn't an alias for nextafter.
nexttoward(3): Fix high-word test on small positive subnormals.
By this point in the logic, x can't be zero, so it's either positive
or negative.
The high word hx, however, can be zero, when x is a small positive
subnormal. This means x is a small positive subnormal, so if x > y
we are computing nextDown, and if x < y we are computing nextUp.
hx is a (signed 32-bit) integer, not a double floating-point number,
so it's a little silly to compare hx > 0.0. But that on its own
isn't enough to trigger the bug because all signed 32-bit integers
can be represented by double on all NetBSD architectures.
PR lib/58236
Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 11 19:01:12 2024 UTC (8 weeks, 4 days ago) by martin
Branches: netbsd-10
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.1: +2 -1
lines
Pull up following revision(s) (requested by riastradh in ticket #950):
include/math.h: revision 1.71
include/math.h: revision 1.72
distrib/sets/lists/debug/mi: revision 1.448
tests/lib/libm/t_errhandling.c: revision 1.1
tests/lib/libm/t_errhandling.c: revision 1.2
tests/lib/libm/t_errhandling.c: revision 1.3
distrib/sets/lists/tests/mi: revision 1.1337
tests/lib/libm/Makefile: revision 1.50
math.h: Define FP_FAST_FMA, FP_FAST_FMAF, FP_FAST_FMAL.
These are not strictly necessary to define, really, so we haven't
exactly been nonconformant. But they tell programs when they can
enable fast paths by using the fma(3) family of functions.
PR standards/56234: missing C99 frobs in <math.h>
math.h: Add math_errhandling, MATH_ERRNO, MATH_ERREXCEPT.
XXX Should maybe put a __math_errhandling in machine/math.h, but only
VAX uses MATH_ERRNO and that's not likely to change any time soon, so
this will serve for now with less churn.
PR standards/56234: missing C99 frobs in <math.h>
math.h: Add missing file for math_errhandling test.
PR standards/56234: missing C99 frobs in <math.h>
Add __TEST_FENV define to fix vax build
libm/t_errhandling.c: Put __TEST_FENV before any #includes.
This pattern avoids any potential problem with transitive inclusions
of fenv.h. (No change here because nothing else this file includes
transitively pulls in fenv.h, but being in the habit of doing it this
way avoids a class of problems.)
PR standards/56234: missing C99 frobs in <math.h>
Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 2 12:46:13 2024 UTC (2 months, 1 week ago) by martin
Branches: netbsd-10
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -1
lines
Pull up following revision(s) (requested by gdt in ticket #912):
distrib/sets/lists/debug/mi: revision 1.449
lib/libm/src/s_remquo.c: revision 1.3
lib/libm/src/s_remquo.c: revision 1.4
distrib/sets/lists/tests/mi: revision 1.1339
tests/lib/libm/t_remquo.c: revision 1.1
tests/lib/libm/t_remquo.c: revision 1.2
tests/lib/libm/Makefile: revision 1.51
tests: Add test for remquo
This test currently fails, because remquo has bugs. (A bugfix will be
committed soon.) Test vectors derived from results from code by
Charles Karney in GeodesicLib/proj, and manually inspected.
t_remquo: Work around missing remquo(3) for vax
Part of PR port-vax/57881
libm/remquo: Fix bug where wrong quotient was returned
Fix taken from FreeBSD:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166463
https://cgit.freebsd.org/src/commit/lib/msun/src/s_remquo.c?id=1cbd288942b08217e99bf889e0967895d53af00c
FreeBSD commit message:
Fix a bug in remquo{,f,l}, in which the quotient didn't always have the
correct sign when the remainder was 0.
Fix a separate bug in remquo alone, in which the remainder and
quotient were both off by a bit in certain cases involving subnormal
remainders.
The bugs affected all platforms except amd64 and i386, on which the
routines are implemented in assembly.
(On NetBSD, this bug manifests on amd64.)
libm/remquo: Fix bug where remquo returned wrong sign of quo
ISO C requires that quo be congruent to the quotient mod 2^k and have
a particular sign. The current code can return 0 when it should be
negative.
Because the code chooses k=31 (for the requirement of congruence
modulo 2^k), the only value available (in ILP32 or LP64) that is
negative and congruent to 0 is 0x80000000. In the specific case of
wanting "-0", return 0x80000000.
Resolves t_remquo test failure.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Sep 19 19:43:13 2024 UTC (2 months, 3 weeks ago) by gdt
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -1
lines
tests: Add test for remquo
This test currently fails, because remquo has bugs. (A bugfix will be
committed soon.) Test vectors derived from results from code by
Charles Karney in GeodesicLib/proj, and manually inspected.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Sep 9 15:06:29 2024 UTC (3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -1
lines
math.h: Add math_errhandling, MATH_ERRNO, MATH_ERREXCEPT.
XXX Should maybe put a __math_errhandling in machine/math.h, but only
VAX uses MATH_ERRNO and that's not likely to change any time soon, so
this will serve for now with less churn.
PR standards/56234: missing C99 frobs in <math.h>
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun May 5 02:53:02 2024 UTC (7 months ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -1
lines
tests/lib/libm: Test nextafter/nexttoward and variants.
The tests are fairly trivial but should work without any conditionals
about floating-point formats.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Aug 27 08:31:58 2022 UTC (2 years, 3 months ago) by christos
Branches: MAIN
CVS tags: netbsd-10-base,
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
Branch point for: netbsd-10
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -1
lines
Add sincos{,f,l} from FreeBSD
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jun 21 06:58:16 2020 UTC (4 years, 5 months ago) by lukem
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -1
lines
fix build of t_cabsl from t_cabsl.cxx
t_cabsl source is in t_cabsl.cxx not t_cabsl.cc - the latter
is what bsd.tests.mk defaults to.
This only broke after my commit of share/mk/bsd.dep.mk rev 1.85
but I don't know why it didn't cause a problem previously.
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:07 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +3 -1
lines
Sync with HEAD
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Apr 26 08:52:16 2019 UTC (5 years, 7 months ago) by maya
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
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,
is-mlppp-base,
is-mlppp
Branch point for: netbsd-9
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1
lines
Add a test case for signbit.
(paranoia prior to a libm change)
Revision 1.42.12.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:53 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.42.12.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.12.1: +2 -1
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Nov 7 03:56:18 2018 UTC (6 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -1
lines
Build libm tests with -fno-builtin.
This way they test libm, not whatever the compiler does.
We should _also_ have automatic integration tests for what the
compiler does, as a separate thing.
Revision 1.42.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:09 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -1
lines
Sync with HEAD
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Jun 20 03:51:27 2018 UTC (6 years, 5 months ago) by maya
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -1
lines
Add test case for PR lib/50646.
Make sure that cabsl (aka __c99_cabsl) is usable from C++.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Jun 4 09:13:47 2018 UTC (6 years, 6 months ago) by maya
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1
lines
Blindly add __TEST_FENV in the hope of fixing the vax build.
(So we can include fenv.h, and then not use it - we ifdef vax out
for OS-portability reasons.)
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:55 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +4 -1
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Dec 20 06:13:19 2016 UTC (7 years, 11 months 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,
pgoyette-compat-base,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-8-base,
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,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -1
lines
define __TEST_FENV in the makefile for t_fe_round
should fix vax build (it doesn't have fenv.h)
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Dec 19 17:38:24 2016 UTC (7 years, 11 months ago) by maya
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -1
lines
add test for fesetround/fegetround that uses lrint (and tests it a bunch).
It doesn't fail on amd64.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Aug 31 14:05:10 2016 UTC (8 years, 3 months ago) by maya
Branches: MAIN
CVS tags: pgoyette-localcount-20161104,
localcount-20160914
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -1
lines
Add failing test for casinh
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Aug 23 10:03:44 2016 UTC (8 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1
lines
portability fixes
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Aug 22 08:49:33 2016 UTC (8 years, 3 months ago) by maya
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -1
lines
add failing test for PR lib/51427
ilogb(INFINITY)=-INT_MAX, it should be INT_MAX
while here, test raised exceptions, other values.
XXX some platforms don't have exceptions
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Jan 24 20:26:47 2016 UTC (8 years, 10 months ago) by gson
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1
lines
Add some tests of hypot() and hypotf()
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Dec 22 14:27:51 2015 UTC (8 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1
lines
add __TEST_FENV
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Dec 22 14:20:59 2015 UTC (8 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -9
lines
put have fenv stuff elsewhere.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Dec 22 08:26:16 2015 UTC (8 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -2
lines
Sync list of fenv enabled architectures again (PR 48633), this time for mips
addition.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Dec 21 12:11:23 2015 UTC (8 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2
lines
While PR 48633 is not properly fixed, keep the additional lists of
fenv-enabled architectures in sync.
Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 20 20:57:24 2015 UTC (9 years, 10 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.1: +2 -1
lines
Pull up following revision(s) (requested by martin in ticket #416):
distrib/sets/lists/comp/md.hppa: revision 1.3
include/fenv.h: revision 1.13 via patch
lib/libm/Makefile: revision 1.168
lib/libm/arch/hppa/fenv.c: revisions 1.1, 1.2
sys/arch/hppa/include/Makefile: revision 1.12
sys/arch/hppa/include/fenv.h: revisions 1.1, 1.2
sys/arch/hppa/include/ieeefp.h: revisions 1.5-1.7
tests/lib/libm/Makefile: revision 1.29 via patch
fenv(3) support for hppa
--
use unsigned over uint32_t so that this file works without stdint.h
being included before hand.
fixes mknative-gcc problems, and likely others.
--
Properly separate fenv.h and ieeefp.h by moving all fenv defines
over to the former.
Now that they are decoupled, make rounding modes match the hardware bits.
--
Simplify, now that rounding mode defines match the hardware bits.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jan 20 20:43:10 2015 UTC (9 years, 10 months ago) by snj
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -2
lines
Remove stale comment about ARM fenv support.
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 12 21:03:09 2015 UTC (9 years, 11 months ago) by snj
Branches: netbsd-7
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -1
lines
Pull up following revision(s) (requested by gson in ticket #413):
tests/lib/libm/Makefile: revision 1.31
tests/lib/libm/t_fmod.c: revision 1.3
Mark the lib/libm/t_fmod test as an expected failure under QEMU,
with a reference to PR misc/44767.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Jan 3 14:23:53 2015 UTC (9 years, 11 months ago) by gson
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -1
lines
Mark the lib/libm/t_fmod test as an expected failure under QEMU,
with a reference to PR misc/44767.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Dec 27 17:55:05 2014 UTC (9 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
Enable fenv.h on arm again
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Dec 27 16:54:03 2014 UTC (9 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1
lines
fenv(3) support for hppa
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Dec 22 11:21:08 2014 UTC (9 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -1
lines
Disabel fenv tests for arm, the implementation is incomplete.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Dec 21 15:37:03 2014 UTC (9 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -1
lines
Add a test program for basic fenv.h rounding mode/exception mask testing.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:50 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +14 -1
lines
Rebase to HEAD as of a few days ago.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Aug 10 11:30:51 2014 UTC (10 years, 4 months ago) by martin
Branches: MAIN
CVS tags: tls-maxphys-base,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4
lines
Use the same condition for HAVE_FENV
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:57:22 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +6 -1
lines
Rebase.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Jun 16 12:54:43 2014 UTC (10 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: tls-earlyentropy-base
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1
lines
Add modfl(3). From FreeBSD.
Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:21 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.1: +13 -1
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun May 18 10:47:38 2014 UTC (10 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2
lines
Re-enable alpha IEEE compiler options
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon May 5 18:08:33 2014 UTC (10 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pagecache-base9
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2
lines
Comment out the ieee fp flags for alpha for now - something (tm) is not
working right, see PR port-alpha/48782.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Apr 28 08:46:35 2014 UTC (10 years, 7 months ago) by martin
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -1
lines
Tune COPTS for alpha
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Mar 3 12:15:27 2014 UTC (10 years, 9 months ago) by martin
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +7 -1
lines
Define HAVE_FENV_H on architectures that support it.
What a mess, we need a central place for this!
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Nov 12 16:48:39 2013 UTC (11 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1
lines
Initial version of fmodl from FreeBSD.
Basic test case for the fmod family.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Nov 11 11:10:45 2013 UTC (11 years, 1 month ago) by joerg
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1
lines
NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control word
as initial value for new processes. This means that long double
computations get the expected 63bit mantissa. Binaries tagged as
compiled for 6.99.25 and older get the old value.
Add a simple test case to ensure that double and long double computation
are working correctly.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:09:13 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -5
lines
sync with head
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Apr 13 12:31:19 2012 UTC (12 years, 8 months ago) by njoly
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -5
lines
Do not re-add -mieee option on alpha, it's already set by default.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Oct 16 13:43:26 2011 UTC (13 years, 1 month ago) by jruoho
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: yamt-pagecache
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -2
lines
Remove 't_rint' as it was committed accidentally.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Oct 16 13:42:22 2011 UTC (13 years, 1 month ago) by jruoho
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -1
lines
As couple of checks fails on i386/qemu, reduce tolerance.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Oct 16 08:25:55 2011 UTC (13 years, 1 month ago) by jruoho
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -1
lines
Add t_sqrt and t_cbrt.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Oct 16 07:40:48 2011 UTC (13 years, 1 month ago) by jruoho
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -1
lines
Basic IEEE tests for the hyperbolic sine and cosine.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Sep 18 05:19:18 2011 UTC (13 years, 2 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1
lines
IEEE checks for the exponential family.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Sep 17 18:08:35 2011 UTC (13 years, 2 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1
lines
IEEE checks for the arcus functions.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Sep 17 12:00:50 2011 UTC (13 years, 2 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1
lines
Few tests for the error functions.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Sep 17 08:15:43 2011 UTC (13 years, 2 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1
lines
IEEE corner case tests for the pow(3) family (incl. PR lib/45372).
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Sep 14 05:18:19 2011 UTC (13 years, 3 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -1
lines
Some tests for sine, cosine, and tangent.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Sep 12 16:48:48 2011 UTC (13 years, 3 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -2
lines
Merge 't_floor' to 't_ceil', and simplify.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Sep 12 15:27:40 2011 UTC (13 years, 3 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +10 -3
lines
Start systematic testing of libm(3) by first evaluating the corner cases
(NaN, +0.0, -0.0, +Inf, -Inf) for the ldexp(3) and scalbn(3) families.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Apr 11 10:51:36 2011 UTC (13 years, 8 months ago) by martin
Branches: MAIN
CVS tags: cherry-xenmp-base,
cherry-xenmp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
Try to generate infinite values in all available floating point formats
on the FPU and check isinf() and fpclassify() results. This is
different from the libc internal consistency checks testing PR
lib/33262.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Apr 10 06:11:47 2011 UTC (13 years, 8 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Add a test case for PR lib/41931 reported by he@. It was verified that these
fail on NetBSD 5.99.48 amd64 but pass on amd64 Linux (glibc 2.7).
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Apr 8 06:49:21 2011 UTC (13 years, 8 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2
lines
Move the round(3) checks from 't_libm' to their own 't_round'
for consistency. Add -Wfloat-equal and fix comparisons.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Apr 6 09:35:49 2011 UTC (13 years, 8 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2
lines
A test case for PR lib/44057.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Mar 24 15:43:06 2011 UTC (13 years, 8 months ago) by jruoho
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
Add dummy test cases for ceil(3) and floor(3). It is expected that at least
one of these will fail on guest x86_64 NetBSD under Qemu. Thanks to pgoyette@
for checking the broken floor(16.999999...) = 17.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Dec 20 23:47:23 2010 UTC (13 years, 11 months ago) by pgoyette
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Move the only regress/lib/libm test to the new atf format
CVSweb <webmaster@jp.NetBSD.org>