\left(\left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467001\right) + \frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{x}double code(double x, double y, double z) {
return ((double) (((double) (((double) (((double) (((double) (x - 0.5)) * ((double) log(x)))) - x)) + 0.91893853320467)) + ((double) (((double) (((double) (((double) (((double) (((double) (y + 0.0007936500793651)) * z)) - 0.0027777777777778)) * z)) + 0.083333333333333)) / x))));
}
Please include this information when filing a bug report:
herbie shell --seed 2020169
(FPCore (x y z)
:name "Numeric.SpecFunctions:$slogFactorial from math-functions-0.1.5.2, B"
:precision binary64
:herbie-target
(+ (+ (+ (* (- x 0.5) (log x)) (- 0.91893853320467 x)) (/ 0.083333333333333 x)) (* (/ z x) (- (* z (+ y 0.0007936500793651)) 0.0027777777777778)))
(+ (+ (- (* (- x 0.5) (log x)) x) 0.91893853320467) (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)))
| match-define: no matching clause for '(== branch1527 1.3580744226346694e+87) | 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)
:name "Numeric.SpecFunctions:$slogFactorial from math-functions-0.1.5.2, B"
:precision binary64
:herbie-target
(+ (+ (+ (* (- x 0.5) (log x)) (- 0.91893853320467 x)) (/ 0.083333333333333 x)) (* (/ z x) (- (* z (+ y 0.0007936500793651)) 0.0027777777777778)))
(+ (+ (- (* (- x 0.5) (log x)) x) 0.91893853320467) (/ (+ (* (- (* (+ y 0.0007936500793651) z) 0.0027777777777778) z) 0.083333333333333) x)))