
(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 2024257
(FPCore (x)
:name "Rust f32::asinh"
:precision binary32
: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.
| first: contract violation expected: (and/c list? (not/c empty?)) given: #f | L | C | |
|---|---|---|---|
| run-egg | /home/nightlies/herbie/eclass-test-rev/src/core/egg-herbie.rkt | 1179 | 0 |
| simplify-batch | /home/nightlies/herbie/eclass-test-rev/src/core/simplify.rkt | 21 | 0 |
| (unnamed) | /usr/local/racket/collects/racket/contract/private/arrow-higher-order.rkt | 379 | 33 |
| lower-approximations | /home/nightlies/herbie/eclass-test-rev/src/core/patch.rkt | 20 | 0 |
| generate-candidates | /home/nightlies/herbie/eclass-test-rev/src/core/patch.rkt | 145 | 0 |
| run-iter! | /home/nightlies/herbie/eclass-test-rev/src/core/mainloop.rkt | 66 | 0 |
| run-improve! | /home/nightlies/herbie/eclass-test-rev/src/core/mainloop.rkt | 43 | 0 |
| get-alternatives/report | /home/nightlies/herbie/eclass-test-rev/src/api/sandbox.rkt | 187 | 0 |
| (unnamed) | /home/nightlies/herbie/eclass-test-rev/src/api/sandbox.rkt | 283 | 6 |
| (unnamed) | /usr/local/racket/share/pkgs/profile-lib/main.rkt | 40 | 10 |
| profile-thunk | /usr/local/racket/share/pkgs/profile-lib/main.rkt | 9 | 0 |
| (unnamed) | /usr/local/racket/collects/racket/engine.rkt | 42 | 24 |