Data.Colour.RGB:hslsv from colour-2.3.3, B

Specification

?
\[\begin{array}{l} \\ \frac{60 \cdot \left(x - y\right)}{z - t} + a \cdot 120 \end{array} \]
(FPCore (x y z t a)
 :precision binary64
 (+ (/ (* 60.0 (- x y)) (- z t)) (* a 120.0)))
double code(double x, double y, double z, double t, double a) {
	return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
real(8) function code(x, y, z, t, a)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    real(8), intent (in) :: t
    real(8), intent (in) :: a
    code = ((60.0d0 * (x - y)) / (z - t)) + (a * 120.0d0)
end function
public static double code(double x, double y, double z, double t, double a) {
	return ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
}
def code(x, y, z, t, a):
	return ((60.0 * (x - y)) / (z - t)) + (a * 120.0)
function code(x, y, z, t, a)
	return Float64(Float64(Float64(60.0 * Float64(x - y)) / Float64(z - t)) + Float64(a * 120.0))
end
function tmp = code(x, y, z, t, a)
	tmp = ((60.0 * (x - y)) / (z - t)) + (a * 120.0);
end
code[x_, y_, z_, t_, a_] := N[(N[(N[(60.0 * N[(x - y), $MachinePrecision]), $MachinePrecision] / N[(z - t), $MachinePrecision]), $MachinePrecision] + N[(a * 120.0), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\frac{60 \cdot \left(x - y\right)}{z - t} + a \cdot 120
\end{array}

Reproduce

?
herbie shell --seed 2024146 
(FPCore (x y z t a)
  :name "Data.Colour.RGB:hslsv from colour-2.3.3, B"
  :precision binary64

  :alt
  (! :herbie-platform default (+ (/ 60 (/ (- z t) (- x y))) (* a 120)))

  (+ (/ (* 60.0 (- x y)) (- z t)) (* a 120.0)))

Please file a bug report with this information.

Backtrace

application: not a procedure; expected a procedure that can be applied to arguments given: #fLC
backward-pass/home/nightlies/herbie/jackson-mergable-platform-changes/src/correct-round.rkt1460
compiled-spec/home/nightlies/herbie/jackson-mergable-platform-changes/src/correct-round.rkt272
compiled-spec/home/nightlies/herbie/jackson-mergable-platform-changes/src/correct-round.rkt1432
compiled-spec/home/nightlies/herbie/jackson-mergable-platform-changes/src/correct-round.rkt272
compiled-spec/home/nightlies/herbie/jackson-mergable-platform-changes/src/ground-truth.rkt312
ival-eval/home/nightlies/herbie/jackson-mergable-platform-changes/src/ground-truth.rkt550
<eval-prog-real>/home/nightlies/herbie/jackson-mergable-platform-changes/src/ground-truth.rkt862
compute-local-errors/home/nightlies/herbie/jackson-mergable-platform-changes/src/core/localize.rkt750
batch-localize-errors/home/nightlies/herbie/jackson-mergable-platform-changes/src/core/localize.rkt610
localize!/home/nightlies/herbie/jackson-mergable-platform-changes/src/mainloop.rkt2010
run-iter!/home/nightlies/herbie/jackson-mergable-platform-changes/src/mainloop.rkt730
mutate!/home/nightlies/herbie/jackson-mergable-platform-changes/src/mainloop.rkt650
run-improve!/home/nightlies/herbie/jackson-mergable-platform-changes/src/mainloop.rkt510
get-alternatives/report/home/nightlies/herbie/jackson-mergable-platform-changes/src/sandbox.rkt1690
(unnamed)/home/nightlies/herbie/jackson-mergable-platform-changes/src/sandbox.rkt2636
(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