mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +08:00
Adding test.
This commit is contained in:
parent
177ef91fc9
commit
09f89895f1
@ -636,6 +636,8 @@ TEST_CASE("64bit.inf") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("64bit.general") {
|
TEST_CASE("64bit.general") {
|
||||||
|
verify("22250738585072012e-324",0x1p-1022); /* limit between normal and subnormal*/
|
||||||
|
verify("-22250738585072012e-324",-0x1p-1022); /* limit between normal and subnormal*/
|
||||||
verify("-1e-999",-0.0);
|
verify("-1e-999",-0.0);
|
||||||
verify("-2.2222222222223e-322",-0x1.68p-1069);
|
verify("-2.2222222222223e-322",-0x1.68p-1069);
|
||||||
verify("9007199254740993.0", 0x1p+53);
|
verify("9007199254740993.0", 0x1p+53);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user