
(FPCore (x y z) :precision binary64 (- (fma x y z) (+ 1.0 (+ (* x y) z))))
double code(double x, double y, double z) {
return fma(x, y, z) - (1.0 + ((x * y) + z));
}
function code(x, y, z) return Float64(fma(x, y, z) - Float64(1.0 + Float64(Float64(x * y) + z))) end
code[x_, y_, z_] := N[(N[(x * y + z), $MachinePrecision] - N[(1.0 + N[(N[(x * y), $MachinePrecision] + z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\mathsf{fma}\left(x, y, z\right) - \left(1 + \left(x \cdot y + z\right)\right)
\end{array}
herbie shell --seed 2024144
(FPCore (x y z)
:name "simple fma test"
:precision binary64
:alt
(! :herbie-platform default -1)
(- (fma x y z) (+ 1.0 (+ (* x y) z))))
Please file a bug report with this information.
| hash-ref: no value found for key key: '(fma.f64 x y z) | L | C | |
|---|---|---|---|
| flow-list | /home/nightlies/herbie/explanations-trifurcate/src/explain.rkt | 748 | 0 |
| make-flow-table | /home/nightlies/herbie/explanations-trifurcate/src/explain.rkt | 752 | 0 |
| generate-timelines | /home/nightlies/herbie/explanations-trifurcate/src/explain.rkt | 614 | 0 |
| explain! | /home/nightlies/herbie/explanations-trifurcate/src/mainloop.rkt | 362 | 0 |
| mutate! | /home/nightlies/herbie/explanations-trifurcate/src/mainloop.rkt | 65 | 0 |
| run-improve! | /home/nightlies/herbie/explanations-trifurcate/src/mainloop.rkt | 51 | 0 |
| get-alternatives/report | /home/nightlies/herbie/explanations-trifurcate/src/sandbox.rkt | 171 | 0 |
| (unnamed) | /home/nightlies/herbie/explanations-trifurcate/src/sandbox.rkt | 265 | 6 |
| (unnamed) | /usr/local/racket/share/pkgs/profile-lib/main.rkt | 40 | 10 |
| profile-thunk | /usr/local/racket/share/pkgs/profile-lib/main.rkt | 9 | 0 |
| (unnamed) | /usr/local/racket/collects/racket/engine.rkt | 42 | 24 |