\[\frac{x \cdot \left(\frac{x}{y} + 1\right)}{x + 1}\]
\frac{x \cdot \left(\frac{x}{y} + 1\right)}{x + 1}
double code(double x, double y) {
	return ((double) (((double) (x * ((double) (((double) (x / y)) + 1.0)))) / ((double) (x + 1.0))));
}

Reproduce

Please include this information when filing a bug report:

herbie shell --seed 2020155 
(FPCore (x y)
  :name "Codec.Picture.Types:toneMapping from JuicyPixels-3.2.6.1"
  :precision binary64

  :herbie-target
  (* (/ x 1.0) (/ (+ (/ x y) 1.0) (+ x 1.0)))

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

Backtrace

hash-ref: no value found for key key: 'xLC
range-table->hyperrects/data/pavpan/nightlies/herbie/ival-find-range/src/findroot.rkt580
make-sampler/data/pavpan/nightlies/herbie/ival-find-range/src/points.rkt1240
prepare-points-intervals/data/pavpan/nightlies/herbie/ival-find-range/src/points.rkt1550
run-improve47/data/pavpan/nightlies/herbie/ival-find-range/src/mainloop.rkt3650
.../more-scheme.rkt:261:28unknown
run/opt/racket-7.5/share/pkgs/profile-lib/main.rkt392
profile-thunk16/opt/racket-7.5/share/pkgs/profile-lib/main.rkt90
(unnamed)/opt/racket-7.5/collects/racket/private/more-scheme.rkt26128

Reproduce

herbie shell --seed 2020155 
(FPCore (x y)
  :name "Codec.Picture.Types:toneMapping from JuicyPixels-3.2.6.1"
  :precision binary64

  :herbie-target
  (* (/ x 1.0) (/ (+ (/ x y) 1.0) (+ x 1.0)))

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