\[x \cdot 0.5 + y \cdot \left(\left(1 - z\right) + \log z\right)\]
x \cdot 0.5 + y \cdot \left(\left(1 - z\right) + \log z\right)
double code(double x, double y, double z) {
	return ((double) (((double) (x * 0.5)) + ((double) (y * ((double) (((double) (1.0 - z)) + ((double) log(z))))))));
}

Reproduce

Please include this information when filing a bug report:

herbie shell --seed 2020155 
(FPCore (x y z)
  :name "System.Random.MWC.Distributions:gamma from mwc-random-0.13.3.2"
  :precision binary64

  :herbie-target
  (- (+ y (* 0.5 x)) (* y (- z (log z))))

  (+ (* x 0.5) (* y (+ (- 1.0 z) (log z)))))

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 z)
  :name "System.Random.MWC.Distributions:gamma from mwc-random-0.13.3.2"
  :precision binary64

  :herbie-target
  (- (+ y (* 0.5 x)) (* y (- z (log z))))

  (+ (* x 0.5) (* y (+ (- 1.0 z) (log z)))))