
(FPCore (x) :precision binary64 (asinh x))
double code(double x) {
return asinh(x);
}
def code(x): return math.asinh(x)
function code(x) return asinh(x) end
function tmp = code(x) tmp = asinh(x); end
code[x_] := N[ArcSinh[x], $MachinePrecision]
\begin{array}{l}
\\
\sinh^{-1} x
\end{array}
herbie shell --seed 2025029
(FPCore (x)
:name "Rust f64::asinh"
:precision binary64
:alt
(! :herbie-platform default (let* ((ax (fabs x)) (ix (/ 1 ax))) (copysign (log1p (+ ax (/ ax (+ (hypot 1 ix) ix)))) x)))
(copysign (log (+ (fabs x) (sqrt (+ (* x x) 1.0)))) x))
Please file a bug report with this information.
| symbol->string: contract violation expected: symbol? given: '(fabs x0) | L | C | |
|---|---|---|---|
| insert-node! | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 108 | 2 |
| egraph-add-exprs | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 72 | 0 |
| egraph-run-schedule | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 1275 | 0 |
| make-egraph | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 1332 | 0 |
| initial-simplify | /home/nightlies/herbie/really-crazy-encodings/src/core/preprocess.rkt | 54 | 0 |
| find-preprocessing | /home/nightlies/herbie/really-crazy-encodings/src/core/preprocess.rkt | 81 | 0 |
| run-improve! | /home/nightlies/herbie/really-crazy-encodings/src/core/mainloop.rkt | 45 | 0 |
| get-alternatives/report | /home/nightlies/herbie/really-crazy-encodings/src/api/sandbox.rkt | 174 | 0 |
| (unnamed) | /home/nightlies/herbie/really-crazy-encodings/src/api/sandbox.rkt | 265 | 6 |
| (unnamed) | /usr/share/racket/pkgs/profile-lib/main.rkt | 40 | 10 |
| profile-thunk | /usr/share/racket/pkgs/profile-lib/main.rkt | 9 | 0 |
| in-engine | /home/nightlies/herbie/really-crazy-encodings/src/api/sandbox.rkt | 283 | 2 |
| (unnamed) | /usr/share/racket/collects/racket/engine.rkt | 42 | 24 |