
(FPCore (x y z) :precision binary64 (- (+ x (cos y)) (* z (sin y))))
double code(double x, double y, double z) {
return (x + cos(y)) - (z * sin(y));
}
real(8) function code(x, y, z)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
code = (x + cos(y)) - (z * sin(y))
end function
public static double code(double x, double y, double z) {
return (x + Math.cos(y)) - (z * Math.sin(y));
}
def code(x, y, z): return (x + math.cos(y)) - (z * math.sin(y))
function code(x, y, z) return Float64(Float64(x + cos(y)) - Float64(z * sin(y))) end
function tmp = code(x, y, z) tmp = (x + cos(y)) - (z * sin(y)); end
code[x_, y_, z_] := N[(N[(x + N[Cos[y], $MachinePrecision]), $MachinePrecision] - N[(z * N[Sin[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\left(x + \cos y\right) - z \cdot \sin y
Please include this information when filing a bug report:
herbie shell --seed 2023243
(FPCore (x y z)
:name "Graphics.Rasterific.Svg.PathConverter:segmentToBezier from rasterific-svg-0.2.3.1, B"
:precision binary64
(- (+ x (cos y)) (* z (sin y))))
| arb-cbrt: Unimplemented | L | C | |
|---|---|---|---|
| f | /home/nightlies/herbie/arb-support/src/programs.rkt | 187 | 2 |
| (unnamed) | /home/nightlies/herbie/arb-support/src/ground-truth.rkt | 23 | 2 |
| arb-eval | /home/nightlies/herbie/arb-support/src/sampling.rkt | 126 | 0 |
| f | /home/nightlies/herbie/arb-support/src/ground-truth.rkt | 46 | 2 |
| compute-local-errors | /home/nightlies/herbie/arb-support/src/core/localize.rkt | 38 | 0 |
| batch-localize-error | /home/nightlies/herbie/arb-support/src/core/localize.rkt | 26 | 0 |
| localize! | /home/nightlies/herbie/arb-support/src/mainloop.rkt | 123 | 0 |
| run-iter! | /home/nightlies/herbie/arb-support/src/mainloop.rkt | 276 | 0 |
| mutate! | /home/nightlies/herbie/arb-support/src/mainloop.rkt | 395 | 0 |
| run-improve! | /home/nightlies/herbie/arb-support/src/mainloop.rkt | 353 | 0 |
| get-alternatives/report | /home/nightlies/herbie/arb-support/src/sandbox.rkt | 148 | 0 |
| (unnamed) | /home/nightlies/herbie/arb-support/src/sandbox.rkt | 247 | 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 |