\[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 r8676 = 1.0;
        double r8677 = x;
        double r8678 = r8676 - r8677;
        double r8679 = y;
        double r8680 = r8678 * r8679;
        double r8681 = r8679 + r8676;
        double r8682 = r8680 / r8681;
        double r8683 = r8676 - r8682;
        return r8683;
}

Reproduce

Please include this information when filing a bug report:

herbie shell --seed 2019191 
(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