#
02698c5b |
| 02-Aug-2021 |
andvar <andvar@NetBSD.org> |
s/diferent/different/
|
#
3772e94e |
| 01-Dec-2017 |
kre <kre@NetBSD.org> |
Since the C standard allows for intermediate floating results to contain more precision bits than the data type expects, but (kind of obviously) does not allow such values to be stored in memory, exp
Since the C standard allows for intermediate floating results to contain more precision bits than the data type expects, but (kind of obviously) does not allow such values to be stored in memory, expecting the value returned from strtod() (an intermediate result) to be identical (that is, equal) to a stored value is incorrect.
So instead go back to checking that the two numbers are very very close. See comments added to the test for more explanation.
show more ...
|
#
52a97812 |
| 28-Nov-2017 |
kre <kre@NetBSD.org> |
Revert 1.4 (perhaps temporarily) and add even more diagnostics to those added in 1.3 to see if it is possible to determine why the strict equality test fails on i386, yet succeeds elsewhere.
|
#
fa3a535c |
| 24-Nov-2017 |
kre <kre@NetBSD.org> |
When comparing doubles (any floating point values) which have been computed using different methods, don't expect to achieve identical results (here, one constant is perhaps converted to binary from
When comparing doubles (any floating point values) which have been computed using different methods, don't expect to achieve identical results (here, one constant is perhaps converted to binary from a string by a cross compiler, the other is converted at run time). Allow them to have a small difference (for now, small is < 1e-7 - the constant is ~ 1e5, so this is 12 orders of magnitude less) before failing (and include the actual difference in the error message if it does fail.)
show more ...
|
#
b19b9696 |
| 23-Nov-2017 |
kre <kre@NetBSD.org> |
Add some diagnostics to the strto test, so I can see why this fails on i386 (on qemu) - will probably keep them when done.
|
#
adbde1f9 |
| 12-Jul-2017 |
perseant <perseant@NetBSD.org> |
Add ISO10646 versions of these tests, conditional on __STDC_ISO_10646__ . Also make the tests a bit more verbose, to aid debugging when they fail.
|
#
8b7adb7b |
| 07-Jun-2017 |
perseant <perseant@NetBSD.org> |
Change t_sprintf to an expected failure, since we don't respect the empty thousands separator of the C/POSIX locale (PR standards/52282).
|
#
ce11903f |
| 30-May-2017 |
perseant <perseant@NetBSD.org> |
Add test cases for sprintf/sscanf/strto{d,l} and the is* and isw* ctype functions, for single-byte encodings
|