\left(9 \cdot {x}^{4} - {y}^{4}\right) + 2 \cdot \left(y \cdot y\right)double code(double x, double y) {
return ((double) (((double) (((double) (9.0 * ((double) pow(x, 4.0)))) - ((double) pow(y, 4.0)))) + ((double) (2.0 * ((double) (y * y))))));
}
Please include this information when filing a bug report:
herbie shell --seed 2020128
(FPCore (x y)
:name "From Rump in a 1983 paper"
:precision binary64
:pre (and (== x 10864.0) (== y 18817.0))
(+ (- (* 9.0 (pow x 4.0)) (pow y 4.0)) (* 2.0 (* y y))))
| 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 |
| run-improve47 | /data/pavpan/nightlies/herbie/separate-biginterval/src/mainloop.rkt | 365 | 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)
:name "From Rump in a 1983 paper"
:precision binary64
:pre (and (== x 10864.0) (== y 18817.0))
(+ (- (* 9.0 (pow x 4.0)) (pow y 4.0)) (* 2.0 (* y y))))