summaryrefslogtreecommitdiff
path: root/tests/mpz
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2006-05-31 16:57:44 +0200
committertege <tege@gmplib.org>2006-05-31 16:57:44 +0200
commitf70ca9e81ed28efc319fcc3f2328baa87d66a5a2 (patch)
treeda9812f47c88716958a6befccab6950bac4b3b39 /tests/mpz
parent332ac8bf0ee1c1351d9bd0ae417211e2b64ec543 (diff)
downloadgmp-f70ca9e81ed28efc319fcc3f2328baa87d66a5a2.tar.gz
(check_data): Add more data points.
Diffstat (limited to 'tests/mpz')
-rw-r--r--tests/mpz/t-set_d.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/mpz/t-set_d.c b/tests/mpz/t-set_d.c
index 2c7ad3100..2afb4448b 100644
--- a/tests/mpz/t-set_d.c
+++ b/tests/mpz/t-set_d.c
@@ -41,6 +41,15 @@ check_data (void)
{ 123.0, 1, { 123 } },
{ -123.0, -1, { 123 } },
+
+ { 1e-1, 0, { } },
+ { -1e-1, 0, { } },
+ { 2.328306436538696e-10, 0, { } },
+ { -2.328306436538696e-10, 0, { } },
+ { 5.421010862427522e-20, 0, { } },
+ { -5.421010862427522e-20, 0, { } },
+ { 2.938735877055719e-39, 0, { } },
+ { -2.938735877055719e-39, 0, { } },
};
mpz_t z;