Rust f32::asinh

Specification

?
\[\begin{array}{l} \\ \sinh^{-1} x \end{array} \]
(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}

Reproduce

?
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.

Backtrace

first: contract violation expected: (and/c list? (not/c empty?)) given: #fLC
run-egg/home/nightlies/herbie/eclass-test-rev/src/core/egg-herbie.rkt11790
simplify-batch/home/nightlies/herbie/eclass-test-rev/src/core/simplify.rkt210
(unnamed)/usr/local/racket/collects/racket/contract/private/arrow-higher-order.rkt37933
lower-approximations/home/nightlies/herbie/eclass-test-rev/src/core/patch.rkt200
generate-candidates/home/nightlies/herbie/eclass-test-rev/src/core/patch.rkt1450
run-iter!/home/nightlies/herbie/eclass-test-rev/src/core/mainloop.rkt660
run-improve!/home/nightlies/herbie/eclass-test-rev/src/core/mainloop.rkt430
get-alternatives/report/home/nightlies/herbie/eclass-test-rev/src/api/sandbox.rkt1870
(unnamed)/home/nightlies/herbie/eclass-test-rev/src/api/sandbox.rkt2836
(unnamed)/usr/local/racket/share/pkgs/profile-lib/main.rkt4010
profile-thunk/usr/local/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/usr/local/racket/collects/racket/engine.rkt4224