
(FPCore (x) :precision binary64 (* 100.0 (/ (- x x) x)))
double code(double x) {
return 100.0 * ((x - x) / x);
}
real(8) function code(x)
real(8), intent (in) :: x
code = 100.0d0 * ((x - x) / x)
end function
public static double code(double x) {
return 100.0 * ((x - x) / x);
}
def code(x): return 100.0 * ((x - x) / x)
function code(x) return Float64(100.0 * Float64(Float64(x - x) / x)) end
function tmp = code(x) tmp = 100.0 * ((x - x) / x); end
code[x_] := N[(100.0 * N[(N[(x - x), $MachinePrecision] / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
100 \cdot \frac{x - x}{x}
\end{array}
herbie shell --seed 2024246
(FPCore (x)
:name "ReportTypes:explainFloat from gipeda-0.1.2.1"
:precision binary64
:alt
(! :herbie-platform default 0)
(* 100.0 (/ (- x x) x)))
Please file a bug report with this information.
| map: contract violation expected: list? given: '(x . #hasheq((errs . (1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ... | L | C | |
|---|---|---|---|
| gen-map | /usr/local/racket/collects/racket/private/map.rkt | 257 | 2 |
| actual-errors | /home/nightlies/herbie/zane-concrete-values/src/core/explain.rkt | 35 | 0 |
| generate-timelines | /home/nightlies/herbie/zane-concrete-values/src/core/explain.rkt | 493 | 0 |
| explain! | /home/nightlies/herbie/zane-concrete-values/src/core/mainloop.rkt | 322 | 0 |
| run-improve! | /home/nightlies/herbie/zane-concrete-values/src/core/mainloop.rkt | 44 | 0 |
| get-alternatives/report | /home/nightlies/herbie/zane-concrete-values/src/api/sandbox.rkt | 186 | 0 |
| (unnamed) | /home/nightlies/herbie/zane-concrete-values/src/api/sandbox.rkt | 282 | 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 |