(FPCore (x y z t) :precision binary64 (+ (* (/ x y) (- z t)) t))
double code(double x, double y, double z, double t) {
return ((x / y) * (z - t)) + t;
}
real(8) function code(x, y, z, t)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
code = ((x / y) * (z - t)) + t
end function
public static double code(double x, double y, double z, double t) {
return ((x / y) * (z - t)) + t;
}
def code(x, y, z, t): return ((x / y) * (z - t)) + t
function code(x, y, z, t) return Float64(Float64(Float64(x / y) * Float64(z - t)) + t) end
function tmp = code(x, y, z, t) tmp = ((x / y) * (z - t)) + t; end
code[x_, y_, z_, t_] := N[(N[(N[(x / y), $MachinePrecision] * N[(z - t), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]
\frac{x}{y} \cdot \left(z - t\right) + t
Please include this information when filing a bug report:
herbie shell --seed 2022203
(FPCore (x y z t)
:name "Numeric.Signal.Multichannel:$cget from hsignal-0.2.7.1"
:precision binary64
:herbie-target
(if (< z 2.759456554562692e-282) (+ (* (/ x y) (- z t)) t) (if (< z 2.326994450874436e-110) (+ (* x (/ (- z t) y)) t) (+ (* (/ x y) (- z t)) t)))
(+ (* (/ x y) (- z t)) t))
| hash-ref: no value found for key key: '~ | L | C | |
|---|---|---|---|
| get-parametric-operator | /data/pavpan/nightlies/herbie/enumo-rat/src/syntax/syntax.rkt | 218 | 0 |
| f336 | .../match/compiler.rkt | 548 | 40 |
| expand-parametric | /data/pavpan/nightlies/herbie/enumo-rat/src/syntax/sugar.rkt | 62 | 0 |
| (unnamed) | /data/pavpan/nightlies/herbie/enumo-rat/src/syntax/rules.rkt | 176 | 8 |
| generate-rules-for | /data/pavpan/nightlies/herbie/enumo-rat/src/syntax/rules.rkt | 161 | 0 |
| generate-missing-rules | /data/pavpan/nightlies/herbie/enumo-rat/src/syntax/rules.rkt | 187 | 0 |
| (unnamed) | /data/pavpan/nightlies/herbie/enumo-rat/src/syntax/rules.rkt | 29 | 26 |
| get-swaps | /data/pavpan/nightlies/herbie/enumo-rat/src/symmetry.rkt | 6 | 0 |
| connected-components | /data/pavpan/nightlies/herbie/enumo-rat/src/symmetry.rkt | 17 | 0 |
| run-improve! | /data/pavpan/nightlies/herbie/enumo-rat/src/mainloop.rkt | 296 | 0 |
| (unnamed) | /data/pavpan/nightlies/herbie/enumo-rat/src/sandbox.rkt | 55 | 6 |
| (unnamed) | /usr/share/racket/pkgs/profile-lib/main.rkt | 40 | 10 |
| profile-thunk | /usr/share/racket/pkgs/profile-lib/main.rkt | 9 | 0 |
| (unnamed) | /usr/share/racket/collects/racket/engine.rkt | 42 | 24 |