From 09f89895f195427fd5cbb569fe83e0c4e8dd2964 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Tue, 10 Jan 2023 10:32:59 -0500 Subject: [PATCH] Adding test. --- tests/basictest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/basictest.cpp b/tests/basictest.cpp index fec51de..8bdd4df 100644 --- a/tests/basictest.cpp +++ b/tests/basictest.cpp @@ -636,6 +636,8 @@ TEST_CASE("64bit.inf") { } 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("-2.2222222222223e-322",-0x1.68p-1069); verify("9007199254740993.0", 0x1p+53);