From 79ae5f97595f6b9171b6bc8b17e5629f708279da Mon Sep 17 00:00:00 2001 From: nsz Date: Sun, 7 Oct 2012 20:36:57 +0200 Subject: [PATCH] math: fix mpfr code for ld80 long double functions --- src/math/gen/mp.c | 4 ++-- src/math/sanity/atan2l.h | 20 ++++++++++---------- src/math/sanity/copysignl.h | 20 ++++++++++---------- src/math/sanity/fdiml.h | 6 +++--- src/math/sanity/fmaxl.h | 20 ++++++++++---------- src/math/sanity/fminl.h | 20 ++++++++++---------- src/math/sanity/fmodl.h | 20 ++++++++++---------- src/math/sanity/hypotl.h | 20 ++++++++++---------- src/math/sanity/powl.h | 8 ++++---- src/math/sanity/remainderl.h | 20 ++++++++++---------- 10 files changed, 79 insertions(+), 79 deletions(-) diff --git a/src/math/gen/mp.c b/src/math/gen/mp.c index 96cd33a..177bc8b 100644 --- a/src/math/gen/mp.c +++ b/src/math/gen/mp.c @@ -327,8 +327,8 @@ static int mpl2(struct t *p, int (*fmp)(mpfr_t, const mpfr_t, const mpfr_t, mpfr mpsetupl(); mpfr_clear_flags(); - mpfr_set_d(mx, p->x, MPFR_RNDN); - mpfr_set_d(mx2, p->x2, MPFR_RNDN); + mpfr_set_ld(mx, p->x, MPFR_RNDN); + mpfr_set_ld(mx2, p->x2, MPFR_RNDN); tn = fmp(my, mx, mx2, r); genl(p, my, tn, r); if ((p->e & INEXACT) && nextafterl(p->y, 0) == 0) { diff --git a/src/math/sanity/atan2l.h b/src/math/sanity/atan2l.h index 5928794..e92fed2 100644 --- a/src/math/sanity/atan2l.h +++ b/src/math/sanity/atan2l.h @@ -1,10 +1,10 @@ -T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, -0x1.0effb95f41b7d19p+0L, 0x1.ac45acp-7, INEXACT) -T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.57eb77cdcea8ca44p+1L, -0x1.ee687ep-4, INEXACT) -T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.e3a92bbad2d2189ap+0L, 0x1.66b362p-4, INEXACT) -T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, -0x1.ebcccdb5aed8cc8ep-1L, 0x1.6e0682p-3, INEXACT) -T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.17879218f70f99c4p+0L, -0x1.ac111p-2, INEXACT) -T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, -0x1.77f02c500ba848d2p+0L, 0x1.23a6d8p-2, INEXACT) -T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.906ccb09df36a9f2p+0L, 0x1.161316p-3, INEXACT) -T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, -0x1.a52301fb32d6adc2p-4L, 0x1.ac0e82p-2, INEXACT) -T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.301b74fc453328d6p-2L, -0x1.d40aeap-2, INEXACT) -T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, -0x1.835e88627850265ap+0L, 0x1.e6f66ep-3, INEXACT) +T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, -0x1.0effb95f41b7d43cp+0L, 0x1.5ff91p-2, INEXACT) +T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.57eb77cdcea8c98ep+1L, -0x1.a2576p-5, INEXACT) +T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.e3a92bbad2d219c4p+0L, 0x1.227b42p-3, INEXACT) +T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, -0x1.ebcccdb5aed8cc7ep-1L, 0x1.d2252ep-2, INEXACT) +T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.17879218f70f99dcp+0L, 0x1.f8679ep-2, INEXACT) +T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, -0x1.77f02c500ba84842p+0L, 0x1.0b676ap-8, INEXACT) +T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.906ccb09df36a9eep+0L, 0x1.5dac66p-6, INEXACT) +T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, -0x1.a52301fb32d6aaccp-4L, -0x1.c29996p-6, INEXACT) +T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.301b74fc45332e38p-2L, -0x1.18b3d2p-2, INEXACT) +T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, -0x1.835e8862785026f8p+0L, -0x1.807b8cp-2, INEXACT) diff --git a/src/math/sanity/copysignl.h b/src/math/sanity/copysignl.h index 67637de..ef4a271 100644 --- a/src/math/sanity/copysignl.h +++ b/src/math/sanity/copysignl.h @@ -1,10 +1,10 @@ -T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, 0x1.02239f3c6a8f1p+3L, 0x0p+0, 0) -T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, -0x1.161868e18bc67p+2L, 0x0p+0, 0) -T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.0c34b3e01e6e7p+3L, 0x0p+0, 0) -T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, 0x1.a206f0a19dcc4p+2L, 0x0p+0, 0) -T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.288bbb0d6a1e6p+3L, 0x0p+0, 0) -T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, 0x1.9ccd8be03f495p+2L, 0x0p+0, 0) -T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.f6f80ed2eab44p+2L, 0x0p+0, 0) -T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, 0x1.95882b433fad3p-1L, 0x0p+0, 0) -T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.3b3d617ae3c4ap-1L, 0x0p+0, 0) -T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, 0x1.1e159e36313eep-1L, 0x0p+0, 0) +T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, 0x1.02239f3c6a8f13dep+3L, 0x0p+0, 0) +T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, -0x1.161868e18bc67782p+2L, 0x0p+0, 0) +T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.0c34b3e01e6e682cp+3L, 0x0p+0, 0) +T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, 0x1.a206f0a19dcc3948p+2L, 0x0p+0, 0) +T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.288bbb0d6a1e5bdap+3L, 0x0p+0, 0) +T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, 0x1.9ccd8be03f4949a2p+2L, 0x0p+0, 0) +T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.f6f80ed2eab43b22p+2L, 0x0p+0, 0) +T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, 0x1.95882b433fad2dd4p-1L, 0x0p+0, 0) +T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.3b3d617ae3c4a65p-1L, 0x0p+0, 0) +T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, 0x1.1e159e36313ee67cp-1L, 0x0p+0, 0) diff --git a/src/math/sanity/fdiml.h b/src/math/sanity/fdiml.h index 51d0355..35e3f18 100644 --- a/src/math/sanity/fdiml.h +++ b/src/math/sanity/fdiml.h @@ -1,10 +1,10 @@ T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, 0x0p+0L, 0x0p+0, 0) -T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.a776a14dad41b8p+3L, 0x0p+0, 0) +T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.a776a14dad41bf6cp+3L, -0x1p-1, INEXACT) T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, 0x0p+0L, 0x0p+0, 0) T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, 0x0p+0L, 0x0p+0, 0) -T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.1d299d0a307cbp+2L, 0x0p+0, 0) +T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.1d299d0a307cac44p+2L, 0x0p+0, 0) T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, 0x0p+0L, 0x0p+0, 0) -T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.f3a18ee23bfdfc6p+2L, 0x0p+0, 0) +T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.f3a18ee23bfdf782p+2L, -0x1.b8p-2, INEXACT) T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, 0x0p+0L, 0x0p+0, 0) T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x0p+0L, 0x0p+0, 0) T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, 0x0p+0L, 0x0p+0, 0) diff --git a/src/math/sanity/fmaxl.h b/src/math/sanity/fmaxl.h index a5a8138..4e176ce 100644 --- a/src/math/sanity/fmaxl.h +++ b/src/math/sanity/fmaxl.h @@ -1,10 +1,10 @@ -T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, 0x1.22484b9ef31fp+2L, 0x0p+0, 0) -T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.161868e18bc67p+2L, 0x0p+0, 0) -T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.61bde29e83f6dp+1L, 0x0p+0, 0) -T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, 0x1.24527f7b576acp+2L, 0x0p+0, 0) -T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.288bbb0d6a1e6p+3L, 0x0p+0, 0) -T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, 0x1.52fb12ef638a1p-1L, 0x0p+0, 0) -T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.f6f80ed2eab44p+2L, 0x0p+0, 0) -T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, 0x1.eb4a2e7ce0693p+2L, 0x0p+0, 0) -T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.01860611d75e1p+1L, 0x0p+0, 0) -T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, 0x1.081bd34224213p-5L, 0x0p+0, 0) +T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, 0x1.22484b9ef31efd4p+2L, 0x0p+0, 0) +T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.161868e18bc67782p+2L, 0x0p+0, 0) +T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.61bde29e83f6cb16p+1L, 0x0p+0, 0) +T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, 0x1.24527f7b576abb6p+2L, 0x0p+0, 0) +T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.288bbb0d6a1e5bdap+3L, 0x0p+0, 0) +T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, 0x1.52fb12ef638a1222p-1L, 0x0p+0, 0) +T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.f6f80ed2eab43b22p+2L, 0x0p+0, 0) +T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, 0x1.eb4a2e7ce06930dap+2L, 0x0p+0, 0) +T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.01860611d75e1052p+1L, 0x0p+0, 0) +T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, 0x1.081bd34224212bp-5L, 0x0p+0, 0) diff --git a/src/math/sanity/fminl.h b/src/math/sanity/fminl.h index 6b27d3a..e81ac95 100644 --- a/src/math/sanity/fminl.h +++ b/src/math/sanity/fminl.h @@ -1,10 +1,10 @@ -T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, -0x1.02239f3c6a8f1p+3L, 0x0p+0, 0) -T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, -0x1.1c6a6cdce75e8p+3L, 0x0p+0, 0) -T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.0c34b3e01e6e7p+3L, 0x0p+0, 0) -T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, -0x1.a206f0a19dcc4p+2L, 0x0p+0, 0) -T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.33edd910a3c01p+2L, 0x0p+0, 0) -T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, -0x1.9ccd8be03f495p+2L, 0x0p+0, 0) -T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.ab3ff8575b21dp-5L, 0x0p+0, 0) -T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, -0x1.95882b433fad3p-1L, 0x0p+0, 0) -T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.3b3d617ae3c4ap-1L, 0x0p+0, 0) -T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, -0x1.1e159e36313eep-1L, 0x0p+0, 0) +T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, -0x1.02239f3c6a8f13dep+3L, 0x0p+0, 0) +T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, -0x1.1c6a6cdce75e83acp+3L, 0x0p+0, 0) +T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.0c34b3e01e6e682cp+3L, 0x0p+0, 0) +T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, -0x1.a206f0a19dcc3948p+2L, 0x0p+0, 0) +T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.33edd910a3c00b7p+2L, 0x0p+0, 0) +T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, -0x1.9ccd8be03f4949a2p+2L, 0x0p+0, 0) +T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.ab3ff8575b21cf92p-5L, 0x0p+0, 0) +T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, -0x1.95882b433fad2dd4p-1L, 0x0p+0, 0) +T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.3b3d617ae3c4a65p-1L, 0x0p+0, 0) +T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, -0x1.1e159e36313ee67cp-1L, 0x0p+0, 0) diff --git a/src/math/sanity/fmodl.h b/src/math/sanity/fmodl.h index eef4f35..2a08f5d 100644 --- a/src/math/sanity/fmodl.h +++ b/src/math/sanity/fmodl.h @@ -1,10 +1,10 @@ -T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, -0x1.c3fde5b3c3fe4p+1L, 0x0p+0, 0) -T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.161868e18bc67p+2L, 0x0p+0, 0) -T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.7324f49dbaaap-4L, 0x0p+0, 0) -T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, -0x1.f6d1c4991986p+0L, 0x0p+0, 0) -T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.1d299d0a307cbp+2L, 0x0p+0, 0) -T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, -0x1.f731692ef4dfep-2L, 0x0p+0, 0) -T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.248be645f4502p-5L, 0x0p+0, 0) -T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, -0x1.95882b433fad3p-1L, 0x0p+0, 0) -T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.3b3d617ae3c4ap-1L, 0x0p+0, 0) -T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, -0x1.5e036ffab6e74p-7L, 0x0p+0, 0) +T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, -0x1.c3fde5b3c3fe54f8p+1L, 0x0p+0, 0) +T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.161868e18bc67782p+2L, 0x0p+0, 0) +T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.7324f49dbaa7edcp-4L, 0x0p+0, 0) +T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, -0x1.f6d1c4991985f7ap+0L, 0x0p+0, 0) +T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.1d299d0a307cac44p+2L, 0x0p+0, 0) +T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, -0x1.f731692ef4df53bcp-2L, 0x0p+0, 0) +T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.248be645f44df174p-5L, 0x0p+0, 0) +T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, -0x1.95882b433fad2dd4p-1L, 0x0p+0, 0) +T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.3b3d617ae3c4a65p-1L, 0x0p+0, 0) +T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, -0x1.5e036ffab6ea33p-7L, 0x0p+0, 0) diff --git a/src/math/sanity/hypotl.h b/src/math/sanity/hypotl.h index 6a12321..60e3868 100644 --- a/src/math/sanity/hypotl.h +++ b/src/math/sanity/hypotl.h @@ -1,10 +1,10 @@ -T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, 0x1.282516b1a730b4fep+3L, 0x1.05eb84p-2, INEXACT) -T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.3c95f610031808a6p+3L, -0x1.b9c77p-3, INEXACT) -T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, 0x1.1a68df50a9a202bap+3L, 0x1.ec3fe4p-2, INEXACT) -T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, 0x1.fe18d615aea7a516p+2L, 0x1.94586p-2, INEXACT) -T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.4e21e97aa682145p+3L, 0x1.601eecp-2, INEXACT) -T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, 0x1.9ef8ceebc1a64a4ep+2L, 0x1.e66b1cp-2, INEXACT) -T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.f6fae4acf638aeb6p+2L, -0x1.f6adf8p-3, INEXACT) -T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, 0x1.ede5e57cd653ef2cp+2L, 0x1.82787ep-5, INEXACT) -T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.0d50129a4fdc1178p+1L, -0x1.d75482p-7, INEXACT) -T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, 0x1.1e8f6d5eca9f5dcap-1L, 0x1.499e9p-2, INEXACT) +T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, 0x1.282516b1a730b7bp+3L, 0x1.43c298p-5, INEXACT) +T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.3c95f61003180d98p+3L, -0x1.fcbf22p-2, INEXACT) +T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, 0x1.1a68df50a9a1fae8p+3L, 0x1.4f327p-2, INEXACT) +T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, 0x1.fe18d615aea79ceep+2L, 0x1.b614b2p-2, INEXACT) +T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.4e21e97aa6820f94p+3L, 0x1.4b99e8p-3, INEXACT) +T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, 0x1.9ef8ceebc1a643fep+2L, -0x1.13cf3p-2, INEXACT) +T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.f6fae4acf638a9d8p+2L, -0x1.0677bp-2, INEXACT) +T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, 0x1.ede5e57cd653effep+2L, 0x1.83dd76p-3, INEXACT) +T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.0d50129a4fdc123cp+1L, -0x1.538518p-2, INEXACT) +T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, 0x1.1e8f6d5eca9f643ep-1L, 0x1.12aa8p-8, INEXACT) diff --git a/src/math/sanity/powl.h b/src/math/sanity/powl.h index 2144a29..35438a6 100644 --- a/src/math/sanity/powl.h +++ b/src/math/sanity/powl.h @@ -1,10 +1,10 @@ T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, nan, 0x0p+0, INVALID) -T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.1e84244b6adcaaccp-19L, -0x1.780766p-2, INEXACT) +T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.1e84244b6adc35cp-19L, -0x1.68d004p-3, INEXACT) T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, nan, 0x0p+0, INVALID) T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, nan, 0x0p+0, INVALID) -T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.5eda994cf09ba444p+15L, 0x1.68e32ap-6, INEXACT) +T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, 0x1.5eda994cf09b54f6p+15L, -0x1.f1a252p-4, INEXACT) T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, nan, 0x0p+0, INVALID) -T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.1d0f7faa98a5b5f2p+0L, -0x1.b46bfap-3, INEXACT) +T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, 0x1.1d0f7faa98a5b5c6p+0L, 0x1.2ea7d8p-3, INEXACT) T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, nan, 0x0p+0, INVALID) -T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.81f419f1692bdacep-2L, 0x1.b3ceacp-5, INEXACT) +T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.81f419f1692be9e2p-2L, -0x1.0b2346p-2, INEXACT) T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, nan, 0x0p+0, INVALID) diff --git a/src/math/sanity/remainderl.h b/src/math/sanity/remainderl.h index 19bebd7..9442dc1 100644 --- a/src/math/sanity/remainderl.h +++ b/src/math/sanity/remainderl.h @@ -1,10 +1,10 @@ -T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, 0x1.01256314447f8p+0L, 0x0p+0, 0) -T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.161868e18bc67p+2L, 0x0p+0, 0) -T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.7324f49dbaaap-4L, 0x0p+0, 0) -T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, -0x1.f6d1c4991986p+0L, 0x0p+0, 0) -T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, -0x1.6c43c0673436p-2L, 0x0p+0, 0) -T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, 0x1.5d89795fa4688p-3L, 0x0p+0, 0) -T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, -0x1.0d682422cda36p-6L, 0x0p+0, 0) -T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, -0x1.95882b433fad3p-1L, 0x0p+0, 0) -T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.3b3d617ae3c4ap-1L, 0x0p+0, 0) -T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, -0x1.5e036ffab6e74p-7L, 0x0p+0, 0) +T(RN, -0x1.02239f3c6a8f13dep+3L, 0x1.22484b9ef31efd4p+2L, 0x1.01256314447f4b1p+0L, 0x0p+0, 0) +T(RN, 0x1.161868e18bc67782p+2L, -0x1.1c6a6cdce75e83acp+3L, 0x1.161868e18bc67782p+2L, 0x0p+0, 0) +T(RN, -0x1.0c34b3e01e6e682cp+3L, -0x1.61bde29e83f6cb16p+1L, -0x1.7324f49dbaa7edcp-4L, 0x0p+0, 0) +T(RN, -0x1.a206f0a19dcc3948p+2L, 0x1.24527f7b576abb6p+2L, -0x1.f6d1c4991985f7ap+0L, 0x0p+0, 0) +T(RN, 0x1.288bbb0d6a1e5bdap+3L, 0x1.33edd910a3c00b7p+2L, -0x1.6c43c0673435f2cp-2L, 0x0p+0, 0) +T(RN, -0x1.9ccd8be03f4949a2p+2L, 0x1.52fb12ef638a1222p-1L, 0x1.5d89795fa469a11p-3L, 0x0p+0, 0) +T(RN, 0x1.f6f80ed2eab43b22p+2L, 0x1.ab3ff8575b21cf92p-5L, -0x1.0d682422cda7bc3cp-6L, 0x0p+0, 0) +T(RN, -0x1.95882b433fad2dd4p-1L, 0x1.eb4a2e7ce06930dap+2L, -0x1.95882b433fad2dd4p-1L, 0x0p+0, 0) +T(RN, 0x1.3b3d617ae3c4a65p-1L, 0x1.01860611d75e1052p+1L, 0x1.3b3d617ae3c4a65p-1L, 0x0p+0, 0) +T(RN, -0x1.1e159e36313ee67cp-1L, 0x1.081bd34224212bp-5L, -0x1.5e036ffab6ea33p-7L, 0x0p+0, 0) -- 2.20.1