Rust f64::atanh

Specification

?
\[\begin{array}{l} \\ \tanh^{-1} x \end{array} \]
(FPCore (x) :precision binary64 (atanh x))
double code(double x) {
	return atanh(x);
}
def code(x):
	return math.atanh(x)
function code(x)
	return atanh(x)
end
function tmp = code(x)
	tmp = atanh(x);
end
code[x_] := N[ArcTanh[x], $MachinePrecision]
\begin{array}{l}

\\
\tanh^{-1} x
\end{array}

Reproduce

?
herbie shell --seed 2023189 
(FPCore (x)
  :name "Rust f64::atanh"
  :precision binary64
  (* 0.5 (log1p (/ (* 2.0 x) (- 1.0 x)))))

Please file a bug report with this information.

Backtrace

application: not a procedure; expected a procedure that can be applied to arguments given: '(0 . #<procedure:f>)LC
taylor-log/home/nightlies/herbie/preprocess-initial-simplify/src/core/taylor.rkt4860
taylor*/home/nightlies/herbie/preprocess-initial-simplify/src/core/taylor.rkt990
hash-ref!/usr/share/racket/collects/racket/private/more-scheme.rkt3772
approximate/home/nightlies/herbie/preprocess-initial-simplify/src/core/taylor.rkt70
taylor-expr/home/nightlies/herbie/preprocess-initial-simplify/src/patch.rkt770
taylor-alt/home/nightlies/herbie/preprocess-initial-simplify/src/patch.rkt840
gen-series!/home/nightlies/herbie/preprocess-initial-simplify/src/patch.rkt980
patch-table-run/home/nightlies/herbie/preprocess-initial-simplify/src/patch.rkt2720
(unnamed)/usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt48618
run-improve!/home/nightlies/herbie/preprocess-initial-simplify/src/mainloop.rkt1860
get-alternatives/report/home/nightlies/herbie/preprocess-initial-simplify/src/sandbox.rkt1510
(unnamed)/home/nightlies/herbie/preprocess-initial-simplify/src/sandbox.rkt2506
(unnamed)/usr/share/racket/pkgs/profile-lib/main.rkt4010
profile-thunk/usr/share/racket/pkgs/profile-lib/main.rkt90
(unnamed)/usr/share/racket/collects/racket/engine.rkt4224