
(FPCore (x) :precision binary64 (acosh x))
double code(double x) {
return acosh(x);
}
def code(x): return math.acosh(x)
function code(x) return acosh(x) end
function tmp = code(x) tmp = acosh(x); end
code[x_] := N[ArcCosh[x], $MachinePrecision]
\begin{array}{l}
\\
\cosh^{-1} x
\end{array}
herbie shell --seed 2025035
(FPCore (x)
:name "Rust f64::acosh"
:precision binary64
:pre (>= x 1.0)
:alt
(! :herbie-platform default (log (+ x (* (sqrt (- x 1)) (sqrt (+ x 1))))))
(log (+ x (sqrt (- (* x x) 1.0)))))
Please file a bug report with this information.
| operator-info: Unknown operator $literal | L | C | |
|---|---|---|---|
| (unnamed) | /usr/share/racket/collects/racket/contract/private/arrow-higher-order.rkt | 379 | 33 |
| rebuild-enode | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 585 | 0 |
| split-untyped-eclasses | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 630 | 0 |
| make-typed-eclasses | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 795 | 0 |
| make-regraph | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 842 | 0 |
| egraph-best | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 1392 | 0 |
| simplify-batch | /home/nightlies/herbie/really-crazy-encodings/src/core/simplify.rkt | 19 | 0 |
| (unnamed) | /usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt | 486 | 18 |
| 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 |