mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
adding a test
This commit is contained in:
parent
35d523195b
commit
604424b624
@ -825,6 +825,7 @@ TEST_CASE("64bit.inf") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("64bit.general") {
|
TEST_CASE("64bit.general") {
|
||||||
|
verify("0.95000000000000000000",0.95);
|
||||||
verify("22250738585072012e-324",0x1p-1022); /* limit between normal and subnormal*/
|
verify("22250738585072012e-324",0x1p-1022); /* limit between normal and subnormal*/
|
||||||
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, std::errc::result_out_of_range);
|
verify("-1e-999", -0.0, std::errc::result_out_of_range);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user