
(FPCore (x) :precision binary32 (asinh x))
float code(float x) {
return asinhf(x);
}
function code(x) return asinh(x) end
function tmp = code(x) tmp = asinh(x); end
\begin{array}{l}
\\
\sinh^{-1} x
\end{array}
herbie shell --seed 2023189
(FPCore (x)
:name "Rust f32::asinh"
:precision binary32
:herbie-target
(copysign (log1p (+ (fabs x) (/ (fabs x) (+ (hypot 1.0 (/ 1.0 (fabs x))) (/ 1.0 (fabs x)))))) x)
(copysign (log (+ (fabs x) (sqrt (+ (* x x) 1.0)))) x))
Please file a bug report with this information.
| application: not a procedure; expected a procedure that can be applied to arguments given: '(0 . #<procedure:...src/core/taylor.rkt:249:13>) | L | C | |
|---|---|---|---|
| taylor-log | /home/nightlies/herbie/preprocess-initial-simplify/src/core/taylor.rkt | 486 | 0 |
| hash-ref! | /usr/share/racket/collects/racket/private/more-scheme.rkt | 377 | 2 |
| approximate | /home/nightlies/herbie/preprocess-initial-simplify/src/core/taylor.rkt | 7 | 0 |
| taylor-expr | /home/nightlies/herbie/preprocess-initial-simplify/src/patch.rkt | 77 | 0 |
| taylor-alt | /home/nightlies/herbie/preprocess-initial-simplify/src/patch.rkt | 84 | 0 |
| gen-series! | /home/nightlies/herbie/preprocess-initial-simplify/src/patch.rkt | 98 | 0 |
| patch-table-run | /home/nightlies/herbie/preprocess-initial-simplify/src/patch.rkt | 272 | 0 |
| (unnamed) | /usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt | 486 | 18 |
| run-improve! | /home/nightlies/herbie/preprocess-initial-simplify/src/mainloop.rkt | 186 | 0 |
| get-alternatives/report | /home/nightlies/herbie/preprocess-initial-simplify/src/sandbox.rkt | 151 | 0 |
| (unnamed) | /home/nightlies/herbie/preprocess-initial-simplify/src/sandbox.rkt | 250 | 6 |
| (unnamed) | /usr/share/racket/pkgs/profile-lib/main.rkt | 40 | 10 |
| profile-thunk | /usr/share/racket/pkgs/profile-lib/main.rkt | 9 | 0 |
| (unnamed) | /usr/share/racket/collects/racket/engine.rkt | 42 | 24 |