\frac{\left(x \cdot y\right) \cdot z}{\sqrt{z \cdot z - t \cdot a}}double code(double x, double y, double z, double t, double a) {
return ((double) (((double) (((double) (x * y)) * z)) / ((double) sqrt(((double) (((double) (z * z)) - ((double) (t * a))))))));
}
Please include this information when filing a bug report:
herbie shell --seed 2020128
(FPCore (x y z t a)
:name "Statistics.Math.RootFinding:ridders from math-functions-0.1.5.2"
:precision binary64
:herbie-target
(if (< z -3.1921305903852764e+46) (- (* y x)) (if (< z 5.976268120920894e+90) (/ (* x z) (/ (sqrt (- (* z z) (* a t))) y)) (* y x)))
(/ (* (* x y) z) (sqrt (- (* z z) (* t a)))))
| random-bits: contract violation expected: Positive-Integer given: 0 | L | C | |
|---|---|---|---|
| random-ranges | /data/pavpan/nightlies/herbie/separate-biginterval/src/common.rkt | 139 | 0 |
| sample-multi-bounded | /data/pavpan/nightlies/herbie/separate-biginterval/src/points.rkt | 14 | 0 |
| (unnamed) | /data/pavpan/nightlies/herbie/separate-biginterval/src/points.rkt | 127 | 6 |
| prepare-points-intervals | /data/pavpan/nightlies/herbie/separate-biginterval/src/points.rkt | 134 | 0 |
| pred | /data/pavpan/nightlies/herbie/separate-biginterval/src/core/regimes.rkt | 200 | 4 |
| for-loop | /data/pavpan/nightlies/herbie/separate-biginterval/src/core/regimes.rkt | 230 | 9 |
| sindices->spoints | /data/pavpan/nightlies/herbie/separate-biginterval/src/core/regimes.rkt | 190 | 0 |
| f37 | unknown | ||
| get-final-combination | /data/pavpan/nightlies/herbie/separate-biginterval/src/mainloop.rkt | 390 | 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 2020128
(FPCore (x y z t a)
:name "Statistics.Math.RootFinding:ridders from math-functions-0.1.5.2"
:precision binary64
:herbie-target
(if (< z -3.1921305903852764e+46) (- (* y x)) (if (< z 5.976268120920894e+90) (/ (* x z) (/ (sqrt (- (* z z) (* a t))) y)) (* y x)))
(/ (* (* x y) z) (sqrt (- (* z z) (* t a)))))