diff options
| author | Joseph Myers <josmyers@redhat.com> | 2025-03-07 19:15:26 +0000 |
|---|---|---|
| committer | Joseph Myers <josmyers@redhat.com> | 2025-03-07 19:15:26 +0000 |
| commit | 77261698b4e938020a1b2032709a54d942ba330f (patch) | |
| tree | 6d7b1dd547ad3ed168503f308f627327a4f69b89 /math/auto-libm-test-in | |
| parent | ee3b1d15da412be19583085f81c220653b270c1f (diff) | |
| download | glibc-77261698b4e938020a1b2032709a54d942ba330f.tar.xz glibc-77261698b4e938020a1b2032709a54d942ba330f.zip | |
Implement C23 rsqrt
C23 adds various <math.h> function families originally defined in TS
18661-4. Add the rsqrt functions (1/sqrt(x)). The test inputs are
taken from those for sqrt.
Tested for x86_64 and x86, and with build-many-glibcs.py.
Diffstat (limited to 'math/auto-libm-test-in')
| -rw-r--r-- | math/auto-libm-test-in | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index 7dd9cde9c9..989ce5d736 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -8151,6 +8151,74 @@ pow 0x1.059c76p+0 0x1.ff80bep+11 pow 0x1.7ac7cp+5 23 pow -0x1.7ac7cp+5 23 +rsqrt 2209 +rsqrt 4 +rsqrt 2 +rsqrt 0.25 +rsqrt 6642.25 +rsqrt 15190.5625 +rsqrt 0.75 +rsqrt 0x1.fffffffffffffp+1023 +rsqrt 0x1.ffffffffffffbp+1023 +rsqrt 0x1.ffffffffffff7p+1023 +rsqrt 0x1.ffffffffffff3p+1023 +rsqrt 0x1.fffffffffffefp+1023 +rsqrt 0x1.fffffffffffebp+1023 +rsqrt 0x1.fffffffffffe7p+1023 +rsqrt 0x1.fffffffffffe3p+1023 +rsqrt 0x1.fffffffffffdfp+1023 +rsqrt 0x1.fffffffffffdbp+1023 +rsqrt 0x1.fffffffffffd7p+1023 +rsqrt 0x1.0000000000003p-1022 +rsqrt 0x1.0000000000007p-1022 +rsqrt 0x1.000000000000bp-1022 +rsqrt 0x1.000000000000fp-1022 +rsqrt 0x1.0000000000013p-1022 +rsqrt 0x1.0000000000017p-1022 +rsqrt 0x1.000000000001bp-1022 +rsqrt 0x1.000000000001fp-1022 +rsqrt 0x1.0000000000023p-1022 +rsqrt 0x1.0000000000027p-1022 +rsqrt 0x1.000000000002bp-1022 +rsqrt 0x1.000000000002fp-1022 +rsqrt 0x1.0000000000033p-1022 +rsqrt 0x1.0000000000037p-1022 +rsqrt 0x1.7167bc36eaa3bp+6 +rsqrt 0x1.7570994273ad7p+6 +rsqrt 0x1.7dae969442fe6p+6 +rsqrt 0x1.7f8444fcf67e5p+6 +rsqrt 0x1.8364650e63a54p+6 +rsqrt 0x1.85bedd274edd8p+6 +rsqrt 0x1.8609cf496ab77p+6 +rsqrt 0x1.873849c70a375p+6 +rsqrt 0x1.8919c962cbaaep+6 +rsqrt 0x1.8de4493e22dc6p+6 +rsqrt 0x1.924829a17a288p+6 +rsqrt 0x1.92702cd992f12p+6 +rsqrt 0x1.92b763a8311fdp+6 +rsqrt 0x1.947da013c7293p+6 +rsqrt 0x1.9536091c494d2p+6 +rsqrt 0x1.61b04c6p-1019 +rsqrt 0x1.93789f1p-1018 +rsqrt 0x1.a1989b4p-1018 +rsqrt 0x1.f93bc9p-1018 +rsqrt 0x1.2f675e3p-1017 +rsqrt 0x1.a158508p-1017 +rsqrt 0x1.cd31f078p-1017 +rsqrt 0x1.33b43b08p-1016 +rsqrt 0x1.6e66a858p-1016 +rsqrt 0x1.8661cbf8p-1016 +rsqrt 0x1.bbb221b4p-1016 +rsqrt 0x1.c4942f3cp-1016 +rsqrt 0x1.dbb258c8p-1016 +rsqrt 0x1.57103ea4p-1015 +rsqrt 0x1.9b294f88p-1015 +rsqrt 0x1.0000000000001p+0 +rsqrt 0x1.fffffffffffffp-1 +rsqrt max +rsqrt min +rsqrt min_subnorm + sin 0 sin -0 sin pi/6 |
