
(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 2025019
(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.
| run-egg: unknown command `(proofs (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) #s(literal 1 binary64)))) fma.f64 (sqrt.f64 (-.f64 x #s(literal -1 binary64))) (sqrt.f64 (-.f64 x #s(literal 1 binary64))) x)` | L | C | |
|---|---|---|---|
| add-derivations-to | /home/nightlies/herbie/unbatch-derivations/src/core/derivations.rkt | 20 | 0 |
| add-derivations | /home/nightlies/herbie/unbatch-derivations/src/core/derivations.rkt | 33 | 0 |
| extract! | /home/nightlies/herbie/unbatch-derivations/src/core/mainloop.rkt | 79 | 0 |
| run-improve! | /home/nightlies/herbie/unbatch-derivations/src/core/mainloop.rkt | 45 | 0 |
| get-alternatives/report | /home/nightlies/herbie/unbatch-derivations/src/api/sandbox.rkt | 174 | 0 |
| (unnamed) | /home/nightlies/herbie/unbatch-derivations/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/unbatch-derivations/src/api/sandbox.rkt | 283 | 2 |
| (unnamed) | /usr/share/racket/collects/racket/engine.rkt | 42 | 24 |