Time bar (total: 14.4s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 13.0b
Found 2 expressions with local error:
| 0.7b | (fma (hypot re im) 2.0 (* re 2.0)) |
| 0.0b | (hypot re im) |
2 calls. Slowest were:
| 0.0ms | (fma (hypot re im) 2.0 (* re 2.0)) |
| 0.0ms | (hypot re im) |
2 calls. Slowest were:
| 59.0ms | (fma (hypot re im) 2.0 (* re 2.0)) |
| 26.0ms | (hypot re im) |
6 calls. Slowest were:
| 12.0ms | (+ (* 2.0 re) (* 2.0 im)) |
| 3.0ms | (* -1 re) |
| 3.0ms | (* 4.0 re) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 12.8b
Found 4 expressions with local error:
| 7.0b | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 0.5b | (* (sqrt (hypot re im)) (sqrt (hypot re im))) |
| 0.0b | (hypot re im) |
| 0.0b | (hypot re im) |
4 calls. Slowest were:
| 10.0ms | (* (sqrt (hypot re im)) (sqrt (hypot re im))) |
| 0.0ms | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 0.0ms | (hypot re im) |
4 calls. Slowest were:
| 36.0ms | (hypot re im) |
| 35.0ms | (hypot re im) |
| 34.0ms | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
33 calls. Slowest were:
| 20.0ms | (* (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im))) (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im)))) |
| 12.0ms | (+ (* 2.0 re) (* 2.0 im)) |
| 4.0ms | (sqrt (* (cbrt (hypot re im)) (cbrt (hypot re im)))) |
10 alts after pruning (9 fresh and 1 done)
Merged error: 12.8b
Found 4 expressions with local error:
| 7.0b | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 7.0b | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 7.0b | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 0.5b | (* (sqrt (hypot re im)) (sqrt (hypot re im))) |
4 calls. Slowest were:
| 5.0ms | (* (sqrt (hypot re im)) (sqrt (hypot re im))) |
| 0.0ms | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 0.0ms | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
4 calls. Slowest were:
| 56.0ms | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 34.0ms | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 34.0ms | (* (sqrt (hypot re im)) (sqrt (hypot re im))) |
33 calls. Slowest were:
| 38.0ms | (* (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im))) (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im)))) |
| 12.0ms | (+ (* 2.0 re) (* 2.0 im)) |
| 12.0ms | (+ (* 2.0 re) (* 2.0 im)) |
10 alts after pruning (9 fresh and 1 done)
Merged error: 12.8b
Found 4 expressions with local error:
| 9.7b | (fma (* (* (sqrt (hypot re im)) (sqrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) 2.0 (* re 2.0)) |
| 7.0b | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 7.0b | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 0.5b | (* (sqrt (hypot re im)) (sqrt (hypot re im))) |
4 calls. Slowest were:
| 10.0ms | (* (sqrt (hypot re im)) (sqrt (hypot re im))) |
| 0.0ms | (fma (* (* (sqrt (hypot re im)) (sqrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) 2.0 (* re 2.0)) |
| 0.0ms | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
4 calls. Slowest were:
| 50.0ms | (fma (* (* (sqrt (hypot re im)) (sqrt (sqrt (hypot re im)))) (sqrt (sqrt (hypot re im)))) 2.0 (* re 2.0)) |
| 39.0ms | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
| 34.0ms | (fma (* (sqrt (hypot re im)) (sqrt (hypot re im))) 2.0 (* re 2.0)) |
33 calls. Slowest were:
| 19.0ms | (* (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im))) (* (* (sqrt (hypot re im)) (sqrt (hypot re im))) (sqrt (hypot re im)))) |
| 10.0ms | (+ (* 2.0 re) (* 2.0 im)) |
| 7.0ms | (+ (* 2.0 re) (* 2.0 im)) |
10 alts after pruning (8 fresh and 2 done)
Merged error: 12.8b
Please include this information when filing a bug report:
herbie shell --seed 2018359 +o rules:numerics
(FPCore (re im)
:name "math.sqrt on complex, real part"
:herbie-target
(if (< re 0) (* 0.5 (* (sqrt 2) (sqrt (/ (* im im) (- (sqrt (+ (* re re) (* im im))) re))))) (* 0.5 (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))))
(* 0.5 (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))))
| partition: contract violation expected: list? given: 13.520882522201287 argument position: 2nd other arguments...: #<procedure:ordinary-value?> | L | C | |
|---|---|---|---|
| partition | /home/p92/racket/collects/racket/list.rkt | 555 | 0 |
| errors-score | /data/pavpan/nightlies/herbie/develop/src/points.rkt | 322 | 0 |
| for-loop | /data/pavpan/nightlies/herbie/develop/src/sandbox.rkt | 75 | 12 |
| (unnamed) | /home/p92/racket/collects/racket/private/more-scheme.rkt | 261 | 28 |
| run | /home/p92/racket/share/pkgs/profile-lib/main.rkt | 39 | 2 |
| profile-thunk16 | /home/p92/racket/share/pkgs/profile-lib/main.rkt | 9 | 0 |
| (unnamed) | /home/p92/racket/collects/racket/private/more-scheme.rkt | 261 | 28 |