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 2025032 
(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

operator-info: Unknown operator $literalLC
(unnamed)/usr/share/racket/collects/racket/contract/private/arrow-higher-order.rkt37933
rebuild-enode/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt5810
split-untyped-eclasses/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt6220
make-typed-eclasses/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt8120
make-regraph/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt8590
egraph-best/home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt14160
simplify-batch/home/nightlies/herbie/really-crazy-encodings/src/core/simplify.rkt190
(unnamed)/usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt48618
initial-simplify/home/nightlies/herbie/really-crazy-encodings/src/core/preprocess.rkt540
find-preprocessing/home/nightlies/herbie/really-crazy-encodings/src/core/preprocess.rkt810
run-improve!/home/nightlies/herbie/really-crazy-encodings/src/core/mainloop.rkt450
get-alternatives/report/home/nightlies/herbie/really-crazy-encodings/src/api/sandbox.rkt1740
(unnamed)/home/nightlies/herbie/really-crazy-encodings/src/api/sandbox.rkt2656
(unnamed)/usr/share/racket/pkgs/profile-lib/main.rkt4010
profile-thunk/usr/share/racket/pkgs/profile-lib/main.rkt90
in-engine/home/nightlies/herbie/really-crazy-encodings/src/api/sandbox.rkt2832
(unnamed)/usr/share/racket/collects/racket/engine.rkt4224