\[1 - \frac{\left(1 - x\right) \cdot y}{y + 1}\]
1 - \frac{\left(1 - x\right) \cdot y}{y + 1}
double f(double x, double y) {
        double r8779 = 1.0;
        double r8780 = x;
        double r8781 = r8779 - r8780;
        double r8782 = y;
        double r8783 = r8781 * r8782;
        double r8784 = r8782 + r8779;
        double r8785 = r8783 / r8784;
        double r8786 = r8779 - r8785;
        return r8786;
}

Reproduce

Please include this information when filing a bug report:

herbie shell --seed 2019191 +o rules:numerics
(FPCore (x y)
  :name "Diagrams.Trail:splitAtParam  from diagrams-lib-1.3.0.3, D"

  :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

get-representation: Unknown representation #fLC
loop/data/pavpan/nightlies/herbie/interface2/src/points.rkt1224
prepare-points/data/pavpan/nightlies/herbie/interface2/src/points.rkt1460
setup-prog!34/data/pavpan/nightlies/herbie/interface2/src/mainloop.rkt670
run-improve43/data/pavpan/nightlies/herbie/interface2/src/mainloop.rkt3390
(unnamed)/opt/racket-7.0/collects/racket/private/more-scheme.rkt26128
run/opt/racket-7.0/share/pkgs/profile-lib/main.rkt392
profile-thunk16/opt/racket-7.0/share/pkgs/profile-lib/main.rkt90
(unnamed)/opt/racket-7.0/collects/racket/private/more-scheme.rkt26128