\left(x + y\right) - \frac{\left(z - t\right) \cdot y}{a - t}double code(double x, double y, double z, double t, double a) {
return ((double) (((double) (x + y)) - ((double) (((double) (((double) (z - t)) * y)) / ((double) (a - t))))));
}
Please include this information when filing a bug report:
herbie shell --seed 2020169
(FPCore (x y z t a)
:name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTick from plot-0.2.3.4, B"
:precision binary64
:herbie-target
(if (< (- (+ x y) (/ (* (- z t) y) (- a t))) -1.3664970889390727e-07) (- (+ y x) (* (* (- z t) (/ 1.0 (- a t))) y)) (if (< (- (+ x y) (/ (* (- z t) y) (- a t))) 1.4754293444577233e-239) (/ (- (* y (- a z)) (* x t)) (- a t)) (- (+ y x) (* (* (- z t) (/ 1.0 (- a t))) y))))
(- (+ x y) (/ (* (- z t) y) (- a t))))
| match-define: no matching clause for '(== branch1658 -2.0302279382372146e-197) | L | C | |
|---|---|---|---|
| match:error | /opt/racket-7.5/collects/racket/match/runtime.rkt | 24 | 0 |
| program-body | /data/pavpan/nightlies/herbie/ival-find-range/src/programs.rkt | 25 | 0 |
| (unnamed) | /opt/racket-7.5/collects/racket/contract/private/arrow-higher-order.rkt | 379 | 33 |
| prepare-points | /data/pavpan/nightlies/herbie/ival-find-range/src/points.rkt | 130 | 0 |
| pred | /data/pavpan/nightlies/herbie/ival-find-range/src/core/regimes.rkt | 204 | 4 |
| .../more-scheme.rkt:261:28 | unknown | ||
| for-loop | /data/pavpan/nightlies/herbie/ival-find-range/src/core/regimes.rkt | 240 | 3 |
| sindices->spoints | /data/pavpan/nightlies/herbie/ival-find-range/src/core/regimes.rkt | 194 | 0 |
| f37 | unknown | ||
| get-final-combination | /data/pavpan/nightlies/herbie/ival-find-range/src/mainloop.rkt | 389 | 0 |
| .../more-scheme.rkt:261:28 | unknown | ||
| run | /opt/racket-7.5/share/pkgs/profile-lib/main.rkt | 39 | 2 |
| profile-thunk16 | /opt/racket-7.5/share/pkgs/profile-lib/main.rkt | 9 | 0 |
| (unnamed) | /opt/racket-7.5/collects/racket/private/more-scheme.rkt | 261 | 28 |
herbie shell --seed 2020169
(FPCore (x y z t a)
:name "Graphics.Rendering.Plot.Render.Plot.Axis:renderAxisTick from plot-0.2.3.4, B"
:precision binary64
:herbie-target
(if (< (- (+ x y) (/ (* (- z t) y) (- a t))) -1.3664970889390727e-07) (- (+ y x) (* (* (- z t) (/ 1.0 (- a t))) y)) (if (< (- (+ x y) (/ (* (- z t) y) (- a t))) 1.4754293444577233e-239) (/ (- (* y (- a z)) (* x t)) (- a t)) (- (+ y x) (* (* (- z t) (/ 1.0 (- a t))) y))))
(- (+ x y) (/ (* (- z t) y) (- a t))))