\[1 - \frac{\left(1 - x\right) \cdot y}{y + 1} \]
(FPCore (x y) :precision binary64 (- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))
double code(double x, double y) {
	return 1.0 - (((1.0 - x) * y) / (y + 1.0));
}
real(8) function code(x, y)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    code = 1.0d0 - (((1.0d0 - x) * y) / (y + 1.0d0))
end function
public static double code(double x, double y) {
	return 1.0 - (((1.0 - x) * y) / (y + 1.0));
}
def code(x, y):
	return 1.0 - (((1.0 - x) * y) / (y + 1.0))
function code(x, y)
	return Float64(1.0 - Float64(Float64(Float64(1.0 - x) * y) / Float64(y + 1.0)))
end
function tmp = code(x, y)
	tmp = 1.0 - (((1.0 - x) * y) / (y + 1.0));
end
code[x_, y_] := N[(1.0 - N[(N[(N[(1.0 - x), $MachinePrecision] * y), $MachinePrecision] / N[(y + 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
1 - \frac{\left(1 - x\right) \cdot y}{y + 1}

Reproduce

Please include this information when filing a bug report:

herbie shell --seed 2022203 
(FPCore (x y)
  :name "Diagrams.Trail:splitAtParam  from diagrams-lib-1.3.0.3, D"
  :precision binary64

  :herbie-target
  (if (< y -3693.8482788297247) (- (/ 1.0 y) (- (/ x y) x)) (if (< y 6799310503.41891) (- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))) (- (/ 1.0 y) (- (/ x y) x))))

  (- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

Backtrace

hash-ref: no value found for key key: '~LC
get-parametric-operator/data/pavpan/nightlies/herbie/enumo-rat/src/syntax/syntax.rkt2180
f336.../match/compiler.rkt54840
expand-parametric/data/pavpan/nightlies/herbie/enumo-rat/src/syntax/sugar.rkt620
(unnamed)/data/pavpan/nightlies/herbie/enumo-rat/src/syntax/rules.rkt1768
generate-rules-for/data/pavpan/nightlies/herbie/enumo-rat/src/syntax/rules.rkt1610
generate-missing-rules/data/pavpan/nightlies/herbie/enumo-rat/src/syntax/rules.rkt1870
(unnamed)/data/pavpan/nightlies/herbie/enumo-rat/src/syntax/rules.rkt2926
get-swaps/data/pavpan/nightlies/herbie/enumo-rat/src/symmetry.rkt60
connected-components/data/pavpan/nightlies/herbie/enumo-rat/src/symmetry.rkt170
run-improve!/data/pavpan/nightlies/herbie/enumo-rat/src/mainloop.rkt2960
(unnamed)/data/pavpan/nightlies/herbie/enumo-rat/src/sandbox.rkt556
(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