Hyperbolic arc-(co)secant

Specification

?
\[\begin{array}{l} \\ \log \left(\frac{1}{x} + \frac{\sqrt{1 - x \cdot x}}{x}\right) \end{array} \]
(FPCore (x)
 :precision binary64
 (log (+ (/ 1.0 x) (/ (sqrt (- 1.0 (* x x))) x))))
double code(double x) {
	return log(((1.0 / x) + (sqrt((1.0 - (x * x))) / x)));
}
real(8) function code(x)
    real(8), intent (in) :: x
    code = log(((1.0d0 / x) + (sqrt((1.0d0 - (x * x))) / x)))
end function
public static double code(double x) {
	return Math.log(((1.0 / x) + (Math.sqrt((1.0 - (x * x))) / x)));
}
def code(x):
	return math.log(((1.0 / x) + (math.sqrt((1.0 - (x * x))) / x)))
function code(x)
	return log(Float64(Float64(1.0 / x) + Float64(sqrt(Float64(1.0 - Float64(x * x))) / x)))
end
function tmp = code(x)
	tmp = log(((1.0 / x) + (sqrt((1.0 - (x * x))) / x)));
end
code[x_] := N[Log[N[(N[(1.0 / x), $MachinePrecision] + N[(N[Sqrt[N[(1.0 - N[(x * x), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]
\begin{array}{l}

\\
\log \left(\frac{1}{x} + \frac{\sqrt{1 - x \cdot x}}{x}\right)
\end{array}

Reproduce

?
herbie shell --seed 2024170 
(FPCore (x)
  :name "Hyperbolic arc-(co)secant"
  :precision binary64
  (log (+ (/ 1.0 x) (/ (sqrt (- 1.0 (* x x))) x))))

Please file a bug report with this information.

Backtrace

timeline-push!: contract violation expected: jsexpr? given: '#hash((#t . 0.499755859375) (unknown . 0.499755859375) (precondition . 0.00048828125) (valid . 0.0)) in: the repeated argument of (-> symbol? jsexpr? ... void?) contract from: <pkgs>/herbie/timeline.rkt blaming: <pkgs>/herbie/searchreals.rkt (assuming the contract is correct) at: <pkgs>/herbie/timeline.rkt:10:3LC
raise-blame-error/usr/local/racket/collects/racket/contract/private/blame.rkt3460
loop/usr/local/racket/collects/racket/contract/private/list.rkt99112
(unnamed).../private/arrow-val-first.rkt48618
find-intervals/home/nightlies/herbie/zane-job-abstraction3/src/searchreals.rkt860
make-sampler/home/nightlies/herbie/zane-job-abstraction3/src/sampling.rkt1100
sample-points/home/nightlies/herbie/zane-job-abstraction3/src/sampling.rkt2440
setup-context!/home/nightlies/herbie/zane-job-abstraction3/src/mainloop.rkt450
get-alternatives/report/home/nightlies/herbie/zane-job-abstraction3/src/sandbox.rkt1660
(unnamed)/home/nightlies/herbie/zane-job-abstraction3/src/sandbox.rkt2606
(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