Data.Octree.Internal:octantDistance from Octree-0.5.4.2

Time bar (total: 2.7s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated; 0ms collecting garbage

analyze0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated; 0ms collecting garbage
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
100%99.9%0%0.1%0%0%0%1
Compiler

Compiled 10 to 5 computations (50% saved)

sample1.6s (61.2%)

Memory
-57.9MiB live, 1 279.3MiB allocated; 1.6s collecting garbage
Samples
1.4s8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 250.0ms
ival-hypot: 249.0ms (99.5% of total)
adjust: 1.0ms (0.4% of total)
Bogosity

preprocess104.0ms (3.9%)

Memory
-10.6MiB live, 34.4MiB allocated; 11ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01850
15350
212550
317550
439950
5199550
6464750
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
50.0%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Symmetry

(abs x)

(abs y)

(sort x y)

Compiler

Compiled 12 to 12 computations (0% saved)

series6.0ms (0.2%)

Memory
14.3MiB live, 14.3MiB allocated; 0ms collecting garbage
Counts
6 → 29
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (sqrt (pow y 2))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (+ (pow x 2) (pow y 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (sqrt (pow x 2))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx y #s(hole binary64 y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
x
@-inf
((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
x
@0
((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
y
@inf
((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y)
1.0ms
y
@0
((sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* x x) x (* y y) y)

rewrite219.0ms (8.2%)

Memory
31.0MiB live, 302.3MiB allocated; 59ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0143784
0147758
1754704
07948545
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
35 → 221
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(+.f64 (*.f64 x x) (*.f64 y y))
(*.f64 x x)
x
(*.f64 y y)
y
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (sqrt (pow y 2))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (+ (pow x 2) (pow y 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (sqrt (pow x 2))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx y #s(hole binary64 y))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (+ (* x x) (* y y)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* x x) (* y y))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))))
Outputs
(*.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)))
(pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (hypot.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (sqrt.f64 (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))))
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (exp.f64 (log.f64 x)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 x))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) x)
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (exp.f64 (log.f64 y)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 y))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) y)
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (exp.f64 (log.f64 x)))
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) x)
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 (neg.f64 y)))
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (exp.f64 (log.f64 y)))
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) y)
(hypot.f64 (neg.f64 (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (exp.f64 (log.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (neg.f64 (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (exp.f64 (log.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (exp.f64 (log.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 (exp.f64 (log.f64 x)) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 y)))
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 y))
(hypot.f64 (exp.f64 (log.f64 x)) y)
(hypot.f64 (exp.f64 (log.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 (exp.f64 (log.f64 y)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 x)))
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 x))
(hypot.f64 (exp.f64 (log.f64 y)) x)
(hypot.f64 (neg.f64 x) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 (neg.f64 x) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 y))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 (neg.f64 y) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 (neg.f64 y) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (exp.f64 (log.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 x (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 x (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (exp.f64 (log.f64 y)))
(hypot.f64 x (neg.f64 y))
(hypot.f64 x y)
(hypot.f64 y (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 y (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (exp.f64 (log.f64 x)))
(hypot.f64 y (neg.f64 x))
(hypot.f64 y x)
(exp.f64 (*.f64 (log.f64 (fma.f64 x x (*.f64 y y))) #s(literal 1/2 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (-.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (fma.f64 (*.f64 x (*.f64 x x)) x (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)))))
(/.f64 (neg.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (neg.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)) (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y)))) (neg.f64 (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))))
(/.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y))) (*.f64 (+.f64 x y) (-.f64 x y)))
(/.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)) (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y))) (fma.f64 (*.f64 y (*.f64 y y)) y (-.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 (*.f64 x x) y) y))))
(/.f64 (fma.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x)) (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y))) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x)))))
(fma.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x (*.f64 y y))
(fma.f64 (*.f64 (neg.f64 y) #s(literal -1 binary64)) y (*.f64 x x))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 x x))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 y) (*.f64 x x))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 y y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 y y))
(fma.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 y y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y y))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 x x))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 y y))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (*.f64 x x))
(fma.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64) (*.f64 x x))
(fma.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64) (*.f64 y y))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 y y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)) (*.f64 y y))
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 x x (*.f64 y y))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 y) y) (*.f64 x x))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x) (*.f64 y y))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 y y))
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (*.f64 x x))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 y y))
(fma.f64 y (*.f64 #s(literal -1 binary64) (neg.f64 y)) (*.f64 x x))
(fma.f64 y y (*.f64 x x))
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (*.f64 x x))
(-.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (+.f64 x y) (-.f64 x y))))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(+.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) (*.f64 x (*.f64 x x))) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))) (/.f64 (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y)) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (-.f64 (*.f64 y y) (*.f64 x x))))))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 x x))
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x)
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(*.f64 x x)
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x (*.f64 x x)) x) #s(literal 1/2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(sqrt.f64 (*.f64 (*.f64 x (*.f64 x x)) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64))))
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
x
(*.f64 (*.f64 (neg.f64 y) #s(literal -1 binary64)) y)
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 y))
(*.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))
(*.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)))
(*.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64))
(*.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 y) y))
(*.f64 #s(literal 1 binary64) (*.f64 y y))
(*.f64 y (*.f64 #s(literal -1 binary64) (neg.f64 y)))
(*.f64 y y)
(*.f64 (*.f64 y y) #s(literal 1 binary64))
(pow.f64 (exp.f64 (log.f64 y)) #s(literal 2 binary64))
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 y (*.f64 y y)) y) #s(literal 1/2 binary64))
(pow.f64 y #s(literal 2 binary64))
(pow.f64 (*.f64 y y) #s(literal 1 binary64))
(/.f64 (*.f64 (*.f64 y y) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 y y)) #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 y) y))
(sqrt.f64 (*.f64 (*.f64 y (*.f64 y y)) y))
(fabs.f64 (*.f64 y y))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 y) #s(literal 2 binary64))))
(exp.f64 (fma.f64 (log.f64 y) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 y) #s(literal 2 binary64))))
y
#s(approx (sqrt (+ (* x x) (* y y))) y)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y (*.f64 y y)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) x y))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (pow.f64 y #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 y (*.f64 y y)))) x) x (/.f64 #s(literal 1/2 binary64) y)) x) x y))
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
#s(approx (+ (* x x) (* y y)) (fma.f64 x x (*.f64 y y)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y (/.f64 y (*.f64 x x))) x))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x))) x))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x))
#s(approx (+ (* x x) (* y y)) (*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) x) x))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 x) (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 x) (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64)))))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x)))
#s(approx (sqrt (+ (* x x) (* y y))) x)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64) x))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (*.f64 x (*.f64 x x)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y) y x))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 x (*.f64 x x)))) y) y (/.f64 #s(literal 1/2 binary64) x)) y) y x))
#s(approx y y)
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)) y))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))) y))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 y (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y))
#s(approx (+ (* x x) (* y y)) (*.f64 (*.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) y) y))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 y) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (neg.f64 y) (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)))))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 (fma.f64 y (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y)))

eval31.0ms (1.2%)

Memory
-0.3MiB live, 52.9MiB allocated; 16ms collecting garbage
Compiler

Compiled 1 436 to 553 computations (61.5% saved)

prune10.0ms (0.4%)

Memory
-27.6MiB live, 18.1MiB allocated; 5ms collecting garbage
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2106216
Fresh000
Picked101
Done000
Total2116217
Accuracy
100.0%
Counts
217 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
50.0%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
1.2%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
1.9%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
98.8%
#s(approx (sqrt (+ (* x x) (* y y))) y)
4.7%
#s(approx (sqrt (+ (* x x) (* y y))) x)
Compiler

Compiled 76 to 76 computations (0% saved)

series3.0ms (0.1%)

Memory
8.6MiB live, 8.6MiB allocated; 0ms collecting garbage
Counts
9 → 24
Calls
Call 1
Inputs
(hypot.f64 y x)
y
x
#s(approx (sqrt (+ (* x x) (* y y))) x)
#s(approx (sqrt (+ (* x x) (* y y))) y)
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
(neg.f64 y)
Outputs
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow y 2))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx x #s(hole binary64 x))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow x 2))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx y #s(hole binary64 y))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@-inf
((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (neg y))
1.0ms
y
@-inf
((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (neg y))
0.0ms
x
@inf
((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (neg y))
0.0ms
y
@inf
((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (neg y))
0.0ms
x
@0
((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (neg y))

rewrite202.0ms (7.6%)

Memory
3.5MiB live, 228.8MiB allocated; 37ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0140625
0142573
1727525
07595489
Stop Event
iter-limit
iter-limit
node-limit
iter-limit
Counts
33 → 76
Calls
Call 1
Inputs
(hypot.f64 y x)
y
x
#s(approx (sqrt (+ (* x x) (* y y))) x)
#s(approx (sqrt (+ (* x x) (* y y))) y)
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
(neg.f64 y)
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow y 2))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx x #s(hole binary64 x))
#s(approx (neg x) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow x 2))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx y #s(hole binary64 y))
#s(approx (neg y) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))))
Outputs
(*.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)))
(pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 y x) (-.f64 y x)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (hypot.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (sqrt.f64 (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(/.f64 (hypot.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (sqrt.f64 (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x))))))
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (exp.f64 (log.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (exp.f64 (log.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 y)))
(hypot.f64 (exp.f64 (log.f64 x)) y)
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 y))
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 x)))
(hypot.f64 (exp.f64 (log.f64 y)) x)
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 x))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (exp.f64 (log.f64 y)))
(hypot.f64 x y)
(hypot.f64 x (neg.f64 y))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (exp.f64 (log.f64 x)))
(hypot.f64 y x)
(hypot.f64 y (neg.f64 x))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (exp.f64 (log.f64 x)))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 y)))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 (neg.f64 x) (neg.f64 y))
(exp.f64 (*.f64 (log.f64 (fma.f64 x x (*.f64 y y))) #s(literal 1/2 binary64)))
y
x
#s(approx (sqrt (+ (* x x) (* y y))) x)
#s(approx (sqrt (+ (* x x) (* y y))) y)
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(*.f64 x #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) x)
(neg.f64 x)
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
(*.f64 #s(literal -1 binary64) y)
(*.f64 y #s(literal -1 binary64))
(neg.f64 y)
#s(approx (sqrt (+ (* x x) (* y y))) y)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y (*.f64 y y)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) x y))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (pow.f64 y #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 y (*.f64 y y)))) x) x (/.f64 #s(literal 1/2 binary64) y)) x) x y))
#s(approx x x)
#s(approx (neg x) (neg.f64 x))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y (/.f64 y (*.f64 x x))) x))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x))) x))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 x (fma.f64 (exp.f64 (-.f64 (*.f64 (log.f64 y) #s(literal 6 binary64)) (*.f64 (log.f64 x) #s(literal 6 binary64)))) #s(literal 1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64)) (neg.f64 x)))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64))) (neg.f64 x)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 (fma.f64 x (fma.f64 (exp.f64 (-.f64 (*.f64 (log.f64 y) #s(literal 6 binary64)) (*.f64 (log.f64 x) #s(literal 6 binary64)))) #s(literal 1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x)))
#s(approx (sqrt (+ (* x x) (* y y))) x)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64) x))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (*.f64 x (*.f64 x x)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y) y x))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 x (*.f64 x x)))) y) y (/.f64 #s(literal 1/2 binary64) x)) y) y x))
#s(approx y y)
#s(approx (neg y) (neg.f64 y))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)) y))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))) y))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 y (fma.f64 (exp.f64 (-.f64 (*.f64 (log.f64 x) #s(literal 6 binary64)) (*.f64 (log.f64 y) #s(literal 6 binary64)))) #s(literal 1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)) (neg.f64 y)))
#s(approx (sqrt (+ (* x x) (* y y))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))) (neg.f64 y)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 (fma.f64 y (fma.f64 (exp.f64 (-.f64 (*.f64 (log.f64 x) #s(literal 6 binary64)) (*.f64 (log.f64 y) #s(literal 6 binary64)))) #s(literal 1/16 binary64) (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y)))

eval6.0ms (0.2%)

Memory
15.6MiB live, 15.6MiB allocated; 0ms collecting garbage
Compiler

Compiled 533 to 202 computations (62.1% saved)

prune3.0ms (0.1%)

Memory
8.0MiB live, 8.0MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (1 fresh and 5 done)

PrunedKeptTotal
New69069
Fresh011
Picked055
Done000
Total69675
Accuracy
100.0%
Counts
75 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
50.0%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
1.2%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
1.9%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
98.8%
#s(approx (sqrt (+ (* x x) (* y y))) y)
4.7%
#s(approx (sqrt (+ (* x x) (* y y))) x)
Compiler

Compiled 38 to 38 computations (0% saved)

series3.0ms (0.1%)

Memory
8.5MiB live, 8.5MiB allocated; 0ms collecting garbage
Counts
5 → 29
Calls
Call 1
Inputs
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(fma.f64 y y (*.f64 x x))
y
(*.f64 x x)
x
Outputs
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow y 2))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (+ (pow x 2) (pow y 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow x 2))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx y #s(hole binary64 y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
x
@inf
((sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) y (* x x) x)
1.0ms
x
@-inf
((sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) y (* x x) x)
0.0ms
y
@-inf
((sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) y (* x x) x)
0.0ms
y
@inf
((sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) y (* x x) x)
0.0ms
x
@0
((sqrt (+ (* y y) (* x x))) (+ (* y y) (* x x)) y (* x x) x)

rewrite157.0ms (5.9%)

Memory
-55.2MiB live, 231.0MiB allocated; 61ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0142753
0145726
1763672
08084542
Stop Event
iter-limit
node-limit
iter-limit
Counts
34 → 199
Calls
Call 1
Inputs
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(fma.f64 y y (*.f64 x x))
y
(*.f64 x x)
x
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow y 2))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* 1/2 (/ (pow x 2) (sqrt (pow y 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow (sqrt (pow y 2)) 3))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow y 2)) (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow (sqrt (pow y 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow y 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow y 2)))))))))
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (pow y 2)))
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (+ (pow x 2) (pow y 2))))
#s(approx (* x x) #s(hole binary64 (pow x 2)))
#s(approx x #s(hole binary64 x))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 x)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (+ (* 1/16 (/ (pow y 6) (pow x 6))) (* 1/2 (/ (pow y 2) (pow x 2))))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (sqrt (pow x 2))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* 1/2 (/ (pow y 2) (sqrt (pow x 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow (sqrt (pow x 2)) 3))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (+ (sqrt (pow x 2)) (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow (sqrt (pow x 2)) 5))) (* 1/8 (/ 1 (pow (sqrt (pow x 2)) 3))))) (* 1/2 (/ 1 (sqrt (pow x 2)))))))))
#s(approx y #s(hole binary64 y))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (+ (* y y) (* x x)) #s(hole binary64 (* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 y)))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))))
#s(approx (sqrt (+ (* y y) (* x x))) #s(hole binary64 (* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (+ (* 1/16 (/ (pow x 6) (pow y 6))) (* 1/2 (/ (pow x 2) (pow y 2))))))))))
Outputs
(*.f64 (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/4 binary64)))
(pow.f64 (fma.f64 x x (*.f64 y y)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 y x) (-.f64 y x)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (sqrt.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (hypot.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (sqrt.f64 (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(/.f64 (hypot.f64 (*.f64 x (*.f64 x x)) (*.f64 y (*.f64 y y))) (sqrt.f64 (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x))))))
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (exp.f64 (log.f64 x)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 x))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) x)
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (exp.f64 (log.f64 y)))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 y))
(hypot.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) y)
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (exp.f64 (log.f64 x)))
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) x)
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 (neg.f64 y)))
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (exp.f64 (log.f64 y)))
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (neg.f64 y))
(hypot.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) y)
(hypot.f64 (neg.f64 (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (exp.f64 (log.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (neg.f64 (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (exp.f64 (log.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (exp.f64 (log.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 (exp.f64 (log.f64 x)) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 y)))
(hypot.f64 (exp.f64 (log.f64 x)) (neg.f64 y))
(hypot.f64 (exp.f64 (log.f64 x)) y)
(hypot.f64 (exp.f64 (log.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 (exp.f64 (log.f64 y)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 x)))
(hypot.f64 (exp.f64 (log.f64 y)) (neg.f64 x))
(hypot.f64 (exp.f64 (log.f64 y)) x)
(hypot.f64 (neg.f64 x) (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 (neg.f64 x) (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (exp.f64 (log.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 y))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 (neg.f64 y) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 (neg.f64 y) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (exp.f64 (log.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 x (*.f64 #s(literal 1 binary64) (neg.f64 y)))
(hypot.f64 x (*.f64 (neg.f64 y) #s(literal 1 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (exp.f64 (log.f64 y)))
(hypot.f64 x (neg.f64 y))
(hypot.f64 x y)
(hypot.f64 y (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(hypot.f64 y (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (exp.f64 (log.f64 x)))
(hypot.f64 y (neg.f64 x))
(hypot.f64 y x)
(exp.f64 (*.f64 (log.f64 (fma.f64 x x (*.f64 y y))) #s(literal 1/2 binary64)))
(/.f64 (-.f64 (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y)) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (fma.f64 (*.f64 y (*.f64 y y)) y (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (neg.f64 x) x)))))
(/.f64 (neg.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 y x) (-.f64 y x)))) (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (neg.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x)))) (neg.f64 (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(/.f64 (neg.f64 (fma.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x)))) (neg.f64 (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x))))))
(/.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 y x) (-.f64 y x))) (*.f64 (+.f64 y x) (-.f64 y x)))
(/.f64 (*.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (+.f64 x y) (-.f64 x y))) (*.f64 (+.f64 x y) (-.f64 x y)))
(/.f64 (fma.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x))) (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y)))))
(/.f64 (fma.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y) (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x))) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x)))))
(fma.f64 (*.f64 (neg.f64 y) #s(literal -1 binary64)) y (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 (neg.f64 y) #s(literal -1 binary64)) y (*.f64 x x))
(fma.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x (*.f64 y y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 #s(literal 1 binary64) (neg.f64 y)) (*.f64 x x))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 y)) (neg.f64 y) (*.f64 x x))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 y y))
(fma.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x) (*.f64 y y))
(fma.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 y y))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)) (*.f64 y y))
(fma.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)) (*.f64 y y))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (exp.f64 (log.f64 y)) (exp.f64 (log.f64 y)) (*.f64 x x))
(fma.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64) (*.f64 y y))
(fma.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 (neg.f64 y) y) #s(literal -1 binary64) (*.f64 x x))
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 y y))
(fma.f64 (neg.f64 x) (neg.f64 x) (*.f64 y y))
(fma.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 y) (*.f64 (neg.f64 y) #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(fma.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)) (*.f64 y y))
(fma.f64 x x (*.f64 y y))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x) (*.f64 y y))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 y) y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 #s(literal -1 binary64) (*.f64 (neg.f64 y) y) (*.f64 x x))
(fma.f64 #s(literal 1 binary64) (*.f64 x x) (*.f64 y y))
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 #s(literal 1 binary64) (*.f64 y y) (*.f64 x x))
(fma.f64 (*.f64 x x) #s(literal 1 binary64) (*.f64 y y))
(fma.f64 y (*.f64 #s(literal -1 binary64) (neg.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 y (*.f64 #s(literal -1 binary64) (neg.f64 y)) (*.f64 x x))
(fma.f64 y y (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 y y (*.f64 x x))
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (*.f64 y y) #s(literal 1 binary64) (*.f64 x x))
(-.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (+.f64 y x) (-.f64 y x))) (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (+.f64 y x) (-.f64 y x))))
(-.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (+.f64 x y) (-.f64 x y))))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y)) (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))) (/.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x)) (fma.f64 (*.f64 y (*.f64 y y)) y (*.f64 (*.f64 x x) (*.f64 (+.f64 x y) (-.f64 x y))))))
(+.f64 (/.f64 (*.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 x x)) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x))))) (/.f64 (*.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 y y)) (fma.f64 (*.f64 x (*.f64 x x)) x (*.f64 (*.f64 y y) (*.f64 (+.f64 y x) (-.f64 y x))))))
(+.f64 (*.f64 x x) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) x))
(+.f64 (*.f64 y y) (*.f64 x x))
y
(*.f64 (*.f64 (neg.f64 x) #s(literal -1 binary64)) x)
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (*.f64 #s(literal 1 binary64) (neg.f64 x)))
(*.f64 (*.f64 #s(literal 1 binary64) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (neg.f64 x) #s(literal 1 binary64)) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (exp.f64 (log.f64 x)) (exp.f64 (log.f64 x)))
(*.f64 (*.f64 (neg.f64 x) x) #s(literal -1 binary64))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) #s(literal 1 binary64)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x (*.f64 #s(literal -1 binary64) (neg.f64 x)))
(*.f64 x x)
(*.f64 #s(literal -1 binary64) (*.f64 (neg.f64 x) x))
(*.f64 #s(literal 1 binary64) (*.f64 x x))
(*.f64 (*.f64 x x) #s(literal 1 binary64))
(pow.f64 (exp.f64 (log.f64 x)) #s(literal 2 binary64))
(pow.f64 (*.f64 (*.f64 x (*.f64 x x)) x) #s(literal 1/2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(pow.f64 (*.f64 x x) #s(literal 1 binary64))
(/.f64 (*.f64 (*.f64 x x) #s(literal 2 binary64)) #s(literal 2 binary64))
(/.f64 (*.f64 #s(literal 2 binary64) (*.f64 x x)) #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(sqrt.f64 (*.f64 (*.f64 x (*.f64 x x)) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (+.f64 #s(literal 0 binary64) (*.f64 (log.f64 x) #s(literal 2 binary64))))
(exp.f64 (fma.f64 (log.f64 x) #s(literal 2 binary64) #s(literal 0 binary64)))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
(+.f64 (cosh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))) (sinh.f64 (*.f64 (log.f64 x) #s(literal 2 binary64))))
x
#s(approx (sqrt (+ (* y y) (* x x))) y)
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y))
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y (*.f64 y y)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) y)) x) x y))
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 x (/.f64 x (pow.f64 y #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 y (*.f64 y y)))) x) x (/.f64 #s(literal 1/2 binary64) y)) x) x y))
#s(approx (+ (* y y) (* x x)) (*.f64 y y))
#s(approx (+ (* y y) (* x x)) (fma.f64 x x (*.f64 y y)))
#s(approx (* x x) (*.f64 x x))
#s(approx x x)
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 x #s(literal 1/2 binary64)) (*.f64 y (/.f64 y (*.f64 x x))) x))
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x))) x))
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x))
#s(approx (+ (* y y) (* x x)) (*.f64 (*.f64 (fma.f64 y (/.f64 y (*.f64 x x)) #s(literal 1 binary64)) x) x))
#s(approx (sqrt (+ (* y y) (* x x))) (neg.f64 x))
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (neg.f64 x) (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (neg.f64 x) (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 1/2 binary64) #s(literal 1 binary64)))))
#s(approx (sqrt (+ (* y y) (* x x))) (neg.f64 (fma.f64 x (fma.f64 (/.f64 (*.f64 (*.f64 y (*.f64 y y)) y) (*.f64 (*.f64 x (*.f64 x x)) x)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 y (/.f64 y (*.f64 x x))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 y y)) (*.f64 x x)))) x)))
#s(approx (sqrt (+ (* y y) (* x x))) x)
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64) x))
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (*.f64 x (*.f64 x x)))) #s(literal -1/8 binary64) (/.f64 #s(literal 1/2 binary64) x)) y) y x))
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 (*.f64 (fma.f64 (*.f64 (fma.f64 (*.f64 y (/.f64 y (pow.f64 x #s(literal 5 binary64)))) #s(literal 1/16 binary64) (/.f64 #s(literal -1/8 binary64) (*.f64 x (*.f64 x x)))) y) y (/.f64 #s(literal 1/2 binary64) x)) y) y x))
#s(approx y y)
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)) y))
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))) y))
#s(approx (sqrt (+ (* y y) (* x x))) (fma.f64 y (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y))
#s(approx (+ (* y y) (* x x)) (*.f64 (*.f64 (fma.f64 x (/.f64 x (*.f64 y y)) #s(literal 1 binary64)) y) y))
#s(approx (sqrt (+ (* y y) (* x x))) (neg.f64 y))
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (neg.f64 y) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64))))
#s(approx (sqrt (+ (* y y) (* x x))) (*.f64 (neg.f64 y) (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64) #s(literal 1 binary64)))))
#s(approx (sqrt (+ (* y y) (* x x))) (neg.f64 (fma.f64 y (fma.f64 (/.f64 (*.f64 (*.f64 x (*.f64 x x)) x) (*.f64 (*.f64 y (*.f64 y y)) y)) #s(literal -1/8 binary64) (fma.f64 (pow.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 3 binary64)) #s(literal 1/16 binary64) (*.f64 (*.f64 x (/.f64 x (*.f64 y y))) #s(literal 1/2 binary64)))) y)))

eval20.0ms (0.7%)

Memory
-11.2MiB live, 42.5MiB allocated; 5ms collecting garbage
Compiler

Compiled 1 394 to 483 computations (65.4% saved)

prune6.0ms (0.2%)

Memory
14.8MiB live, 14.8MiB allocated; 0ms collecting garbage
Pruning

6 alts after pruning (0 fresh and 6 done)

PrunedKeptTotal
New1940194
Fresh000
Picked011
Done055
Total1946200
Accuracy
100.0%
Counts
200 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
50.0%
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
1.2%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
1.9%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
98.8%
#s(approx (sqrt (+ (* x x) (* y y))) y)
4.7%
#s(approx (sqrt (+ (* x x) (* y y))) x)
Compiler

Compiled 70 to 57 computations (18.6% saved)

regimes15.0ms (0.6%)

Memory
-7.8MiB live, 38.9MiB allocated; 2ms collecting garbage
Counts
7 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) x)
#s(approx (sqrt (+ (* x x) (* y y))) y)
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 y x)
Outputs
(hypot.f64 y x)
Calls

6 calls:

4.0ms
x
2.0ms
y
2.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
2.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
2.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
100.0%1(*.f64 y y)
100.0%1(*.f64 x x)
100.0%1(+.f64 (*.f64 x x) (*.f64 y y))
100.0%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
100.0%1x
100.0%1y
Compiler

Compiled 17 to 21 computations (-23.5% saved)

regimes16.0ms (0.6%)

Memory
-11.5MiB live, 33.5MiB allocated; 4ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) x)
#s(approx (sqrt (+ (* x x) (* y y))) y)
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 y))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) y)
Calls

6 calls:

5.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
2.0ms
y
2.0ms
x
2.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
2.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
98.8%1(*.f64 y y)
98.8%1(*.f64 x x)
98.8%1(+.f64 (*.f64 x x) (*.f64 y y))
98.8%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
98.8%1x
98.8%1y
Compiler

Compiled 17 to 21 computations (-23.5% saved)

regimes6.0ms (0.2%)

Memory
19.6MiB live, 19.6MiB allocated; 0ms collecting garbage
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) x)
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) x)
Calls

6 calls:

1.0ms
y
1.0ms
x
1.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
1.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
1.0ms
(*.f64 y y)
Results
AccuracySegmentsBranch
4.7%1(*.f64 y y)
4.7%1(*.f64 x x)
4.7%1(+.f64 (*.f64 x x) (*.f64 y y))
4.7%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
4.7%1x
4.7%1y
Compiler

Compiled 17 to 21 computations (-23.5% saved)

derivations105.0ms (3.9%)

Memory
12.1MiB live, 110.7MiB allocated; 17ms collecting garbage
Stop Event
done
Compiler

Compiled 13 to 9 computations (30.8% saved)

preprocess123.0ms (4.6%)

Memory
-19.3MiB live, 72.9MiB allocated; 10ms collecting garbage
Remove

(abs y)

(sort x y)

Compiler

Compiled 163 to 159 computations (2.5% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...