diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-02-21 15:06:24 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-02-21 15:06:24 +0000 |
commit | ad3bb5fb96a080649f2373149fd17114d03ee29a (patch) | |
tree | 2346482275c97f5e0dabd813ce8b0457c8bd632f | |
parent | 23977444173bc0f85b0a89c6eb1784e04724b174 (diff) | |
download | mpfr-ad3bb5fb96a080649f2373149fd17114d03ee29a.tar.gz |
added one test
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2248 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | tests/thypot.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/thypot.c b/tests/thypot.c index c567f6c1d..55b0146ed 100644 --- a/tests/thypot.c +++ b/tests/thypot.c @@ -60,6 +60,13 @@ test_large (void) exit (1); } + mpfr_set_prec (x, 53); + mpfr_set_prec (t, 53); + mpfr_set_prec (y, 53); + mpfr_set_str_raw (x, "0.11101100011110000011101000010101010011001101000001100E-1021"); + mpfr_set_str_raw (t, "0.11111001010011000001110110001101011100001000010010100E-1021"); + mpfr_hypot (y, x, t, GMP_RNDN); + mpfr_clear (x); mpfr_clear (y); mpfr_clear (z); |