diff options
| author | Andrew Turner <andrew@FreeBSD.org> | 2025-01-10 10:34:52 +0000 |
|---|---|---|
| committer | Andrew Turner <andrew@FreeBSD.org> | 2025-01-10 10:39:34 +0000 |
| commit | 9d1de25930735261c16ed874a933b4c1f1d9041e (patch) | |
| tree | b0cac1c933cc1ecb885c7e757b89ffbf13f1f012 /pl/math/tools/cbrt.sollya | |
| parent | edc5c0de794f521eb620d2b6cbaee2434442a8f3 (diff) | |
Update the Arm Optimized Routinesvendor/arm-optimized-routines/v25.01vendor/arm-optimized-routines
Import the v25.01 release of the Arm Optimized Routines [1].
[1] https://github.com/ARM-software/optimized-routines/tree/v25.01
Sponsored by: Arm Ltd
Diffstat (limited to 'pl/math/tools/cbrt.sollya')
| -rw-r--r-- | pl/math/tools/cbrt.sollya | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/pl/math/tools/cbrt.sollya b/pl/math/tools/cbrt.sollya deleted file mode 100644 index 1d43dc73d8cd..000000000000 --- a/pl/math/tools/cbrt.sollya +++ /dev/null @@ -1,20 +0,0 @@ -// polynomial for approximating cbrt(x) in double precision -// -// Copyright (c) 2022-2023, Arm Limited. -// SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception - -deg = 3; - -a = 0.5; -b = 1; - - -f = x^(1/3); - -poly = fpminimax(f, deg, [|double ...|], [a;b]); - -display = hexadecimal; -print("rel error:", accurateinfnorm(1-poly(x)/f(x), [a;b], 30)); -print("in [",a,b,"]"); -print("coeffs:"); -for i from 0 to deg do round(coeff(poly,i), D, RN); |
