Data.Octree.Internal:octantDistance from Octree-0.5.4.2

Time bar (total: 7.9s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
0.3MiB live, 0.3MiB 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.0s (12.7%)

Memory
6.5MiB live, 1 202.9MiB allocated; 304ms collecting garbage
Samples
569.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 285.0ms
ival-hypot: 273.0ms (95.8% of total)
ival-true: 6.0ms (2.1% of total)
adjust: 3.0ms (1.1% of total)
ival-assert: 3.0ms (1.1% of total)
Bogosity

explain157.0ms (2%)

Memory
-19.0MiB live, 183.8MiB allocated; 30ms collecting garbage
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1300-1(-2.2042779577128495e-158 2.030430710305206e-196)(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
00-0-(+.f64 (*.f64 x x) (*.f64 y y))
00-0-y
00-0-(*.f64 y y)
00-0-(*.f64 x x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))oflow-rescue1150
(*.f64 y y)overflow60
(*.f64 x x)overflow63
(+.f64 (*.f64 x x) (*.f64 y y))overflow115
sqrt.f64(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))uflow-rescue140
(*.f64 y y)underflow71
(*.f64 x x)underflow59
(+.f64 (*.f64 x x) (*.f64 y y))underflow14
Confusion
Predicted +Predicted -
+1291
-0126
Precision
1.0
Recall
0.9923076923076923
Confusion?
Predicted +Predicted MaybePredicted -
+12901
-00126
Precision?
1.0
Recall?
0.9923076923076923
Freqs
test
numberfreq
0127
1129
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
32.0ms512×0valid
Compiler

Compiled 58 to 22 computations (62.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 19.0ms
ival-mult: 8.0ms (41.2% of total)
ival-hypot: 8.0ms (41.2% of total)
ival-add: 2.0ms (10.3% of total)
ival-true: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess16.0ms (0.2%)

Memory
25.0MiB live, 25.0MiB allocated; 0ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01642
14242
29242
311742
415542
068
0108
1218
2608
31178
41548
01543
Stop Event
iter limit
saturated
iter limit
saturated
Calls
Call 1
Inputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Outputs
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(hypot.f64 y x)
Symmetry

(abs y)

(abs x)

(sort x y)

Compiler

Compiled 8 to 6 computations (25% saved)

eval0.0ms (0%)

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

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated; 0ms collecting garbage
Alt Table
Click to see full alt table
StatusAccuracyProgram
53.0%
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
Compiler

Compiled 8 to 6 computations (25% saved)

series6.0ms (0.1%)

Memory
9.9MiB live, 9.9MiB allocated; 0ms collecting garbage
Counts
6 → 27
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
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(pow y 2)
(+ (pow x 2) (pow y 2))
(pow x 2)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* 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)))))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -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))))))))
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* 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)))))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -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)

simplify202.0ms (2.5%)

Memory
-0.8MiB live, 183.7MiB allocated; 55ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104441
1323441
21323435
36816435
08217396
Stop Event
iter limit
node limit
Counts
27 → 25
Calls
Call 1
Inputs
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(pow y 2)
(+ (pow x 2) (pow y 2))
(pow x 2)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* 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)))))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -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))))))))
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* 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)))))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -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
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) y) y) (*.f64 x x) #s(literal 1/2 binary64)) y) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
(pow y 2)
(*.f64 y y)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(pow x 2)
(*.f64 x x)
x
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) y) (/.f64 (/.f64 y x) x) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) (/.f64 y x) #s(literal 1 binary64))) x)
(* 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)))))))
(*.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 y x)) (/.f64 y x) #s(literal 1 binary64)))) x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(*.f64 (fma.f64 (/.f64 (/.f64 y x) x) y #s(literal 1 binary64)) (*.f64 x x))
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x)
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x)
(* -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))))))))
(*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)))) x)
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) x) x) (*.f64 y y) #s(literal 1/2 binary64)) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64)) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64))) y)
(* 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)))))))
(*.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal -1/8 binary64) (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) #s(literal 1/2 binary64) #s(literal 1 binary64)))) y)
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64)) y)
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(*.f64 (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64))) y)
(* -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))))))))
(*.f64 (fma.f64 #s(literal -1/16 binary64) (/.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) y) (/.f64 (*.f64 x x) y) #s(literal -1 binary64)))) y)

rewrite65.0ms (0.8%)

Memory
3.9MiB live, 48.5MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0623
01023
13923
034617
Stop Event
iter limit
iter limit
iter limit
unsound
iter limit
Counts
6 → 173
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
(*.f64 (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)) (pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/4 binary64)))
(pow.f64 (fma.f64 y y (*.f64 x x)) #s(literal 1/2 binary64))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (hypot.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 x #s(literal 3 binary64))) (sqrt.f64 (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))))
(sqrt.f64 (fma.f64 y y (*.f64 x x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x)
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.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)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.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)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) x)
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) y)
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) x)
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 y) (fabs.f64 x))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 y))
(hypot.f64 (neg.f64 x) (fabs.f64 y))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 x))
(hypot.f64 (fabs.f64 y) (fabs.f64 x))
(hypot.f64 (fabs.f64 y) x)
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 y))
(hypot.f64 (fabs.f64 x) (fabs.f64 y))
(hypot.f64 (fabs.f64 x) y)
(hypot.f64 y (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (neg.f64 (fabs.f64 x)))
(hypot.f64 y (fabs.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 x))
(hypot.f64 y (fabs.f64 x))
(hypot.f64 y x)
(hypot.f64 x (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (neg.f64 (fabs.f64 y)))
(hypot.f64 x (fabs.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 y))
(hypot.f64 x (fabs.f64 y))
(hypot.f64 x y)
(exp.f64 (*.f64 (log.f64 (fma.f64 y y (*.f64 x x))) #s(literal 1/2 binary64)))
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (-.f64 (*.f64 y y) (*.f64 x x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 (+.f64 x y) (-.f64 x y)))
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (pow.f64 y #s(literal 4 binary64)) (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))))
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64))))
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.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 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 y y))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y y))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 x x))
(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 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 y y))
(fma.f64 y y (*.f64 x x))
(fma.f64 x x (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 x x (*.f64 y y))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y))))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(-.f64 (*.f64 y y) (*.f64 x (neg.f64 x)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))) (/.f64 (pow.f64 y #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 x #s(literal 4 binary64)))))
(+.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 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(neg.f64 (*.f64 x (neg.f64 x)))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
(*.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 y y)
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (fabs.f64 y) #s(literal 2 binary64))
(pow.f64 y #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 y) y))
(fabs.f64 (*.f64 y y))
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))
y

eval30.0ms (0.4%)

Memory
6.8MiB live, 48.9MiB allocated; 10ms collecting garbage
Compiler

Compiled 2 102 to 446 computations (78.8% saved)

prune10.0ms (0.1%)

Memory
-22.1MiB live, 20.5MiB allocated; 8ms collecting garbage
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1946200
Fresh000
Picked101
Done000
Total1956201
Accuracy
100.0%
Counts
201 → 6
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
53.0%
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
53.0%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)))
52.1%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
96.5%
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
1.9%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
Compiler

Compiled 142 to 94 computations (33.8% saved)

series8.0ms (0.1%)

Memory
18.5MiB live, 18.5MiB allocated; 0ms collecting garbage
Counts
15 → 32
Calls
Call 1
Inputs
(hypot.f64 y x)
y
x
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
(*.f64 y y)
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
(fma.f64 x x (*.f64 y y))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
(*.f64 x x)
Outputs
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
x
(* -1 x)
(pow y 2)
(+ (pow x 2) (pow y 2))
(pow x 2)
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* 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)))))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* 1/2 (/ (pow x 2) y))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -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))))))))
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/ 1/2 y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* 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)))))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -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))))))))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@-inf
((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y) 1/2 (* x x))
1.0ms
x
@0
((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y) 1/2 (* x x))
1.0ms
y
@inf
((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y) 1/2 (* x x))
1.0ms
x
@inf
((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y) 1/2 (* x x))
1.0ms
x
@-inf
((sqrt (+ (* y y) (* x x))) y x (sqrt (+ (* x x) (* y y))) (neg x) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* y y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (/ 1/2 y) 1/2 (* x x))

simplify188.0ms (2.4%)

Memory
14.0MiB live, 201.0MiB allocated; 38ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116478
1349478
21401460
35767459
08119421
Stop Event
iter limit
node limit
Counts
32 → 30
Calls
Call 1
Inputs
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
x
(* -1 x)
(pow y 2)
(+ (pow x 2) (pow y 2))
(pow x 2)
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* 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)))))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* 1/2 (/ (pow x 2) y))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -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))))))))
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/ 1/2 y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* 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)))))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -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))))))))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
Outputs
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) y) y) (*.f64 x x) #s(literal 1/2 binary64)) y) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
x
(* -1 x)
(neg.f64 x)
(pow y 2)
(*.f64 y y)
(+ (pow x 2) (pow y 2))
(fma.f64 x x (*.f64 y y))
(pow x 2)
(*.f64 x x)
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (/.f64 x x) (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64))) x)
(* 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)))))))
(*.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64)))) x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(*.f64 (fma.f64 (/.f64 y x) (/.f64 y x) #s(literal 1 binary64)) (*.f64 x x))
(* 1/2 (/ (pow x 2) y))
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(*.f64 (*.f64 (-.f64 (/.f64 y (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) y)) x) x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x)
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x)
(* -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))))))))
(*.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64)))) (neg.f64 x))
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) x) x) (*.f64 y y) #s(literal 1/2 binary64)) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x)
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64)))) y (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
(* 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)))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 (/.f64 (*.f64 x x) y) y (*.f64 y y))
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y) (neg.f64 y))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(neg.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64)))) y (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)))
(* -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))))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) (neg.f64 y) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y)))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)

rewrite61.0ms (0.8%)

Memory
-29.7MiB live, 68.3MiB allocated; 23ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01985
02973
18773
072273
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
15 → 328
Calls
Call 1
Inputs
(hypot.f64 y x)
y
x
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
(*.f64 y y)
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
(fma.f64 x x (*.f64 y y))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
(*.f64 x x)
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 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (sqrt.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))))
(/.f64 (hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (sqrt.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))))
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x)
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y)
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.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)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) x)
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (fabs.f64 x))
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (fabs.f64 x))
(hypot.f64 (fabs.f64 y) (neg.f64 x))
(hypot.f64 (fabs.f64 y) x)
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 y))
(hypot.f64 (fabs.f64 x) (fabs.f64 y))
(hypot.f64 (fabs.f64 x) y)
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 y))
(hypot.f64 (neg.f64 x) (fabs.f64 y))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 x (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (neg.f64 (fabs.f64 y)))
(hypot.f64 x (fabs.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 y))
(hypot.f64 x (fabs.f64 y))
(hypot.f64 x y)
(hypot.f64 y (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 y (neg.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (fabs.f64 (fabs.f64 x)))
(hypot.f64 y (fabs.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)))
y
x
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(neg.f64 x)
(*.f64 (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)) #s(literal 1/4 binary64)))
(pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y))) #s(literal 1/2 binary64)))
#s(approx (+ (* x x) (* y y)) (*.f64 y y))
(*.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)))
(*.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)))
(*.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)))
(*.f64 (neg.f64 y) (neg.f64 y))
(*.f64 (fabs.f64 y) (fabs.f64 y))
(*.f64 y y)
(pow.f64 (neg.f64 y) #s(literal 2 binary64))
(pow.f64 (fabs.f64 y) #s(literal 2 binary64))
(pow.f64 y #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 y) y))
(fabs.f64 (*.f64 y y))
(exp.f64 (*.f64 (log.f64 y) #s(literal 2 binary64)))
(*.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 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (sqrt.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (sqrt.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (sqrt.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))))
(/.f64 (hypot.f64 (pow.f64 x #s(literal 3 binary64)) (pow.f64 y #s(literal 3 binary64))) (sqrt.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))))
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 (neg.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (fabs.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) (neg.f64 x))
(hypot.f64 (pow.f64 y #s(literal 1 binary64)) x)
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (neg.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (neg.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) (fabs.f64 y))
(hypot.f64 (pow.f64 x #s(literal 1 binary64)) y)
(hypot.f64 (neg.f64 (neg.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (neg.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (neg.f64 y)) x)
(hypot.f64 (neg.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (neg.f64 (fabs.f64 y)) x)
(hypot.f64 (neg.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 (neg.f64 x)) (pow.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)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 (neg.f64 x)) (neg.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) (fabs.f64 y))
(hypot.f64 (neg.f64 (neg.f64 x)) y)
(hypot.f64 (fabs.f64 (fabs.f64 y)) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) (neg.f64 x))
(hypot.f64 (fabs.f64 (fabs.f64 y)) x)
(hypot.f64 (fabs.f64 (fabs.f64 x)) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (neg.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 y))
(hypot.f64 (fabs.f64 (fabs.f64 x)) y)
(hypot.f64 (neg.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (neg.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (neg.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (neg.f64 y) (fabs.f64 x))
(hypot.f64 (neg.f64 y) (neg.f64 x))
(hypot.f64 (neg.f64 y) x)
(hypot.f64 (fabs.f64 y) (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 y) (neg.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (neg.f64 (neg.f64 x)))
(hypot.f64 (fabs.f64 y) (fabs.f64 (fabs.f64 x)))
(hypot.f64 (fabs.f64 y) (fabs.f64 x))
(hypot.f64 (fabs.f64 y) (neg.f64 x))
(hypot.f64 (fabs.f64 y) x)
(hypot.f64 (fabs.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (fabs.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (fabs.f64 x) (neg.f64 y))
(hypot.f64 (fabs.f64 x) (fabs.f64 y))
(hypot.f64 (fabs.f64 x) y)
(hypot.f64 (neg.f64 x) (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 (neg.f64 x) (neg.f64 (neg.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (fabs.f64 (fabs.f64 y)))
(hypot.f64 (neg.f64 x) (neg.f64 y))
(hypot.f64 (neg.f64 x) (fabs.f64 y))
(hypot.f64 (neg.f64 x) y)
(hypot.f64 x (pow.f64 y #s(literal 1 binary64)))
(hypot.f64 x (neg.f64 (neg.f64 y)))
(hypot.f64 x (neg.f64 (fabs.f64 y)))
(hypot.f64 x (fabs.f64 (fabs.f64 y)))
(hypot.f64 x (neg.f64 y))
(hypot.f64 x (fabs.f64 y))
(hypot.f64 x y)
(hypot.f64 y (pow.f64 x #s(literal 1 binary64)))
(hypot.f64 y (neg.f64 (fabs.f64 x)))
(hypot.f64 y (neg.f64 (neg.f64 x)))
(hypot.f64 y (fabs.f64 (fabs.f64 x)))
(hypot.f64 y (fabs.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 (pow.f64 x #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 y) y) #s(literal 3 binary64))) (+.f64 (pow.f64 x #s(literal 4 binary64)) (+.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (*.f64 x x) (*.f64 (neg.f64 y) y)))))
(/.f64 (-.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 (*.f64 (neg.f64 x) x) #s(literal 3 binary64))) (+.f64 (pow.f64 y #s(literal 4 binary64)) (+.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (*.f64 y y) (*.f64 (neg.f64 x) x)))))
(/.f64 (neg.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 y x) (-.f64 y x))))
(/.f64 (neg.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64)))) (neg.f64 (*.f64 (+.f64 x y) (-.f64 x y))))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64)))) (neg.f64 (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) (*.f64 (+.f64 y x) (-.f64 y x)))
(/.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (*.f64 (+.f64 x y) (-.f64 x y)))
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64))))
(/.f64 (+.f64 (pow.f64 y #s(literal 6 binary64)) (pow.f64 x #s(literal 6 binary64))) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64))))
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 x x))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (pow.f64 x #s(literal 1 binary64)) (pow.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 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)) (*.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 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 x x))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)) (*.f64 y y))
(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 (fabs.f64 y) (fabs.f64 y) (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 x x))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 (fabs.f64 x) (fabs.f64 x) (*.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 x x (*.f64 (neg.f64 (neg.f64 y)) y))
(fma.f64 x x (*.f64 y y))
(fma.f64 y y (*.f64 (neg.f64 (neg.f64 x)) x))
(fma.f64 y y (*.f64 x x))
(-.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 y x) (-.f64 y x))) (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 y x) (-.f64 y x))))
(-.f64 (/.f64 (pow.f64 x #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y))) (/.f64 (pow.f64 y #s(literal 4 binary64)) (*.f64 (+.f64 x y) (-.f64 x y))))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) (neg.f64 y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 (fabs.f64 y)) (fabs.f64 y)))
(-.f64 (*.f64 x x) (*.f64 (neg.f64 y) y))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (fabs.f64 x)) (fabs.f64 x)))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 (neg.f64 x)) (neg.f64 x)))
(-.f64 (*.f64 y y) (*.f64 (neg.f64 x) x))
(+.f64 (/.f64 (pow.f64 y #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))) (/.f64 (pow.f64 x #s(literal 6 binary64)) (+.f64 (-.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 (*.f64 x y) #s(literal 2 binary64))) (pow.f64 y #s(literal 4 binary64)))))
(+.f64 (/.f64 (pow.f64 x #s(literal 6 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 6 binary64)) (-.f64 (+.f64 (pow.f64 x #s(literal 4 binary64)) (pow.f64 y #s(literal 4 binary64))) (pow.f64 (*.f64 x y) #s(literal 2 binary64)))))
(+.f64 (*.f64 x x) (*.f64 (neg.f64 (neg.f64 y)) y))
(+.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))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y) y))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64))) (-.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) y)))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) y))
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) (*.f64 x y)))))
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64))))
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (fabs.f64 x)) (fabs.f64 x) y)
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (neg.f64 x)) (neg.f64 x) y)
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) y)) y)
(fma.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y) y)
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 x x) y) y)
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y)) y)
(fma.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) y)
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)) (-.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) y)))
(-.f64 y (*.f64 (neg.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) x))
(-.f64 y (*.f64 (*.f64 (neg.f64 x) x) (/.f64 #s(literal 1/2 binary64) y)))
(-.f64 y (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x)))
(+.f64 (/.f64 (*.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y (-.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)) (pow.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x) y)
(+.f64 y (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))
(/.f64 #s(literal -1/2 binary64) (neg.f64 y))
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y)))
(/.f64 #s(literal 1/2 binary64) y)
(neg.f64 (/.f64 #s(literal -1/2 binary64) y))
(neg.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 y)))
#s(literal 1/2 binary64)
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 x x)
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))

eval4.0s (50.5%)

Memory
24.8MiB live, 88.4MiB allocated; 4.8s collecting garbage
Compiler

Compiled 3 626 to 616 computations (83% saved)

prune861.0ms (10.9%)

Memory
-367.4MiB live, 406.4MiB allocated; 81ms collecting garbage
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New2712273
Fresh011
Picked145
Done000
Total2727279
Accuracy
100.0%
Counts
279 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
53.0%
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
53.0%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)))
52.1%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
99.0%
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y))
1.9%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
3.6%
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))))
Compiler

Compiled 97 to 63 computations (35.1% saved)

series15.0ms (0.2%)

Memory
12.0MiB live, 12.0MiB allocated; 0ms collecting garbage
Counts
17 → 40
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))))
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(/.f64 (*.f64 x x) y)
(*.f64 x x)
x
y
#s(literal 1/2 binary64)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y))
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(/.f64 #s(literal 1/2 binary64) y)
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)))
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)
(fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y)
(/.f64 (/.f64 (*.f64 x x) y) y)
Outputs
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(* 1/2 (/ (pow x 2) y))
(/ (pow x 2) y)
(pow x 2)
x
(* 1/2 (/ x y))
(pow y 2)
(+ (pow x 2) (pow y 2))
(+ y (/ (pow x 2) y))
(/ (pow x 2) (pow y 2))
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* 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)))))))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ (/ 1 y) (/ y (pow x 2))))
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -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))))))))
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/ 1/2 y)
(/ (+ (pow x 2) (pow y 2)) y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* 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)))))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* y (+ 1 (/ (pow x 2) (pow y 2))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -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))))))))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(* -1 (* y (- (* -1 (/ (pow x 2) (pow y 2))) 1)))
Calls

6 calls:

TimeVariablePointExpression
4.0ms
x
@inf
((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (* x x) x y 1/2 (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ (/ (* x x) y) y) y) y) y) (+ (* (/ (/ (* x x) y) y) y) y) (/ (/ (* x x) y) y))
2.0ms
y
@-inf
((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (* x x) x y 1/2 (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ (/ (* x x) y) y) y) y) y) (+ (* (/ (/ (* x x) y) y) y) y) (/ (/ (* x x) y) y))
2.0ms
x
@-inf
((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (* x x) x y 1/2 (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ (/ (* x x) y) y) y) y) y) (+ (* (/ (/ (* x x) y) y) y) y) (/ (/ (* x x) y) y))
2.0ms
y
@inf
((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (* x x) x y 1/2 (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ (/ (* x x) y) y) y) y) y) (+ (* (/ (/ (* x x) y) y) y) y) (/ (/ (* x x) y) y))
2.0ms
y
@0
((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (/ (* x x) y) 1/2) (/ (* x x) y) (* x x) x y 1/2 (sqrt (+ (* x x) (* y y))) (+ (* (* (/ 1/2 y) x) x) y) (* (/ 1/2 y) x) (/ 1/2 y) (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ (/ (* x x) y) y) y) y) y) (+ (* (/ (/ (* x x) y) y) y) y) (/ (/ (* x x) y) y))

simplify259.0ms (3.3%)

Memory
-0.2MiB live, 285.4MiB allocated; 26ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127542
1384542
21485522
36043521
08523478
Stop Event
iter limit
node limit
Counts
40 → 38
Calls
Call 1
Inputs
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(* 1/2 (/ (pow x 2) y))
(/ (pow x 2) y)
(pow x 2)
x
(* 1/2 (/ x y))
(pow y 2)
(+ (pow x 2) (pow y 2))
(+ y (/ (pow x 2) y))
(/ (pow x 2) (pow y 2))
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* 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)))))))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(* (pow x 2) (+ (/ 1 y) (/ y (pow x 2))))
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -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))))))))
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/ 1/2 y)
(/ (+ (pow x 2) (pow y 2)) y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* 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)))))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* y (+ 1 (/ (pow x 2) (pow y 2))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -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))))))))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(* -1 (* y (- (* -1 (/ (pow x 2) (pow y 2))) 1)))
Outputs
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) y) y) (*.f64 x x) #s(literal 1/2 binary64)) y) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
(* 1/2 (/ (pow x 2) y))
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(/ (pow x 2) y)
(/.f64 (*.f64 x x) y)
(pow x 2)
(*.f64 x x)
x
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
(pow y 2)
(*.f64 y y)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ y (/ (pow x 2) y))
(fma.f64 (/.f64 x y) x y)
(/ (pow x 2) (pow y 2))
(/.f64 (/.f64 (*.f64 x x) y) y)
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (/.f64 x x) (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64))) x)
(* 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)))))))
(*.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64)))) x)
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(*.f64 (*.f64 (-.f64 (/.f64 y (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) y)) x) x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(*.f64 (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) y #s(literal 1 binary64)) x) x)
(* (pow x 2) (+ (/ 1 y) (/ y (pow x 2))))
(*.f64 (fma.f64 (/.f64 y (*.f64 x x)) x (/.f64 x y)) x)
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x)
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x)
(* -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))))))))
(*.f64 (neg.f64 x) (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64)))))
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) x) x) (*.f64 y y) #s(literal 1/2 binary64)) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x)
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)
(/ (+ (pow x 2) (pow y 2)) y)
(fma.f64 (/.f64 x y) x y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64)))) y (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
(* 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)))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(*.f64 (fma.f64 (/.f64 x y) x y) y)
(* y (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 (/.f64 x y) x y)
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y) (neg.f64 y))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(neg.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64)))) y (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)))
(* -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))))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) (neg.f64 y) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y)))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(* -1 (* y (- (* -1 (/ (pow x 2) (pow y 2))) 1)))
(*.f64 (fma.f64 (/.f64 x (neg.f64 y)) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y))

rewrite53.0ms (0.7%)

Memory
4.4MiB live, 96.4MiB allocated; 8ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
024164
036162
1129162
0861150
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
17 → 144
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))))
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(/.f64 (*.f64 x x) y)
(*.f64 x x)
x
y
#s(literal 1/2 binary64)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y))
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(/.f64 #s(literal 1/2 binary64) y)
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)))
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)
(fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y)
(/.f64 (/.f64 (*.f64 x x) y) y)
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))))
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)))
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y)))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) y)))
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)
(*.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x))
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 x x) y))
(*.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y))
(*.f64 x (*.f64 (/.f64 x y) #s(literal 1/2 binary64)))
(*.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
(/.f64 (*.f64 (*.f64 (neg.f64 x) x) #s(literal 1/2 binary64)) (neg.f64 y))
(/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 (neg.f64 x) x)) (neg.f64 y))
(/.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) (neg.f64 y))
(/.f64 (neg.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) x)) (neg.f64 y))
(/.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) x) y)
(*.f64 (/.f64 x y) x)
(*.f64 (neg.f64 x) (/.f64 (neg.f64 x) y))
(*.f64 (fabs.f64 x) (/.f64 (fabs.f64 x) y))
(*.f64 x (/.f64 x y))
(/.f64 (*.f64 (neg.f64 x) x) (neg.f64 y))
(/.f64 (*.f64 x x) (neg.f64 (neg.f64 y)))
(/.f64 (*.f64 x x) y)
(neg.f64 (*.f64 (neg.f64 x) (/.f64 x y)))
(*.f64 (pow.f64 x #s(literal 1 binary64)) (pow.f64 x #s(literal 1 binary64)))
(*.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 x)))
(*.f64 (neg.f64 (fabs.f64 x)) (neg.f64 (fabs.f64 x)))
(*.f64 (fabs.f64 (fabs.f64 x)) (fabs.f64 (fabs.f64 x)))
(*.f64 (neg.f64 x) (neg.f64 x))
(*.f64 (fabs.f64 x) (fabs.f64 x))
(*.f64 x x)
(pow.f64 (neg.f64 x) #s(literal 2 binary64))
(pow.f64 (fabs.f64 x) #s(literal 2 binary64))
(pow.f64 x #s(literal 2 binary64))
(neg.f64 (*.f64 (neg.f64 x) x))
(fabs.f64 (*.f64 x x))
(exp.f64 (*.f64 (log.f64 x) #s(literal 2 binary64)))
x
y
#s(literal 1/2 binary64)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64))) (-.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) y)))
(/.f64 (neg.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) y))
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) (*.f64 x y)))))
(/.f64 (fma.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64)) (pow.f64 y #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64))))
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (neg.f64 x)) (neg.f64 x) y)
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (fabs.f64 x)) (fabs.f64 x) y)
(fma.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y) y)
(fma.f64 (neg.f64 x) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y)) y)
(fma.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) y)) y)
(fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y)
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(fma.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64) y)
(fma.f64 #s(literal 1/2 binary64) (/.f64 (*.f64 x x) y) y)
(fma.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y) y)
(fma.f64 x (*.f64 (/.f64 x y) #s(literal 1/2 binary64)) y)
(fma.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) y)
(-.f64 (/.f64 (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)) (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) y)))
(-.f64 y (*.f64 (neg.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)) x))
(-.f64 y (*.f64 (neg.f64 (/.f64 #s(literal 1/2 binary64) y)) (*.f64 x x)))
(-.f64 y (*.f64 (*.f64 (neg.f64 x) x) (/.f64 #s(literal 1/2 binary64) y)))
(-.f64 y (*.f64 (neg.f64 x) (*.f64 (/.f64 #s(literal 1/2 binary64) y) x)))
(+.f64 (/.f64 (*.f64 (pow.f64 (/.f64 #s(literal 1/2 binary64) y) #s(literal 3 binary64)) (pow.f64 x #s(literal 6 binary64))) (fma.f64 y (-.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y))) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) #s(literal 2 binary64)))))
(+.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)) y)
(+.f64 y (*.f64 (*.f64 #s(literal 1/2 binary64) x) (/.f64 x y)))
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(*.f64 x (/.f64 #s(literal 1/2 binary64) y))
(/.f64 (*.f64 #s(literal -1/2 binary64) x) (neg.f64 y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) (neg.f64 y))
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) x)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(/.f64 #s(literal -1/2 binary64) (neg.f64 y))
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y)))
(/.f64 #s(literal 1/2 binary64) y)
(neg.f64 (/.f64 #s(literal -1/2 binary64) y))
(neg.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 y)))
(*.f64 (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)) #s(literal 1/4 binary64)))
(pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)))
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))) #s(literal 1/2 binary64)))
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y))
(*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal 1 binary64)) (*.f64 y y))
(*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)
(*.f64 y (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (*.f64 y y)) y) (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64))) y) (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64))))
(/.f64 (*.f64 y (-.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (*.f64 y y))) (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(/.f64 (*.f64 y (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64)))) (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64))))
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(fma.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y (*.f64 y y))
(fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) (*.f64 y y) (*.f64 y y))
(fma.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) (*.f64 y y))
(fma.f64 y y (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(+.f64 (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(*.f64 (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal 1 binary64)) y)
(*.f64 y (fma.f64 (/.f64 x y) (/.f64 x y) #s(literal 1 binary64)))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64))) (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64))))
(fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y)
(fma.f64 (/.f64 (*.f64 x x) y) (/.f64 y y) y)
(fma.f64 y (/.f64 (/.f64 (*.f64 x x) y) y) y)
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)))
(-.f64 y (*.f64 (neg.f64 (/.f64 (/.f64 (*.f64 x x) y) y)) y))
(-.f64 y (*.f64 (neg.f64 y) (/.f64 (/.f64 (*.f64 x x) y) y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y)) (pow.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) #s(literal 2 binary64)))))
(+.f64 (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y) y)
(+.f64 y (*.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y))
(*.f64 (/.f64 (neg.f64 x) (fabs.f64 y)) (/.f64 (neg.f64 x) (fabs.f64 y)))
(*.f64 (/.f64 (neg.f64 x) y) (/.f64 (neg.f64 x) y))
(*.f64 (/.f64 (fabs.f64 x) (neg.f64 y)) (/.f64 (fabs.f64 x) (neg.f64 y)))
(*.f64 (/.f64 (fabs.f64 x) (fabs.f64 y)) (/.f64 (fabs.f64 x) (fabs.f64 y)))
(*.f64 (/.f64 (fabs.f64 x) y) (/.f64 (fabs.f64 x) y))
(*.f64 (/.f64 x (neg.f64 y)) (/.f64 x (neg.f64 y)))
(*.f64 (/.f64 x (fabs.f64 y)) (/.f64 x (fabs.f64 y)))
(*.f64 (/.f64 x y) (/.f64 x y))
(*.f64 (neg.f64 x) (/.f64 (neg.f64 x) (*.f64 y y)))
(*.f64 (fabs.f64 x) (/.f64 (fabs.f64 x) (*.f64 y y)))
(*.f64 x (/.f64 (/.f64 x y) y))
(*.f64 x (/.f64 x (*.f64 y y)))
(/.f64 (/.f64 (*.f64 x x) (fabs.f64 y)) (fabs.f64 y))
(/.f64 (*.f64 (neg.f64 x) x) (*.f64 (neg.f64 y) y))
(/.f64 (*.f64 (neg.f64 x) (/.f64 x y)) (neg.f64 y))
(/.f64 (/.f64 (*.f64 x x) y) (neg.f64 (neg.f64 y)))
(/.f64 (/.f64 (*.f64 x x) y) y)
(/.f64 (*.f64 x x) (*.f64 y y))
(neg.f64 (/.f64 (*.f64 (neg.f64 x) (/.f64 x y)) y))
(neg.f64 (/.f64 (/.f64 (*.f64 x x) y) (neg.f64 y)))

eval46.0ms (0.6%)

Memory
-25.8MiB live, 89.2MiB allocated; 41ms collecting garbage
Compiler

Compiled 5 497 to 838 computations (84.8% saved)

prune12.0ms (0.2%)

Memory
-3.3MiB live, 42.7MiB allocated; 5ms collecting garbage
Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New2122214
Fresh000
Picked213
Done044
Total2147221
Accuracy
100.0%
Counts
221 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
53.0%
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
53.0%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)))
52.1%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
99.0%
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y))
1.9%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
3.7%
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)))
Compiler

Compiled 93 to 61 computations (34.4% saved)

series13.0ms (0.2%)

Memory
1.4MiB live, 47.4MiB allocated; 5ms collecting garbage
Counts
13 → 40
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)))
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)))
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))
(*.f64 (fma.f64 (/.f64 x y) x y) y)
(fma.f64 (/.f64 x y) x y)
(/.f64 x y)
Outputs
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(* 1/2 (/ (pow x 2) y))
(* 1/2 (/ x y))
x
(pow y 2)
(+ (pow x 2) (pow y 2))
(+ y (/ (pow x 2) y))
(/ x y)
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* 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)))))))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(pow x 2)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(/ (pow x 2) y)
(* (pow x 2) (+ (/ 1 y) (/ y (pow x 2))))
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -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))))))))
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/ 1/2 y)
(/ (+ (pow x 2) (pow y 2)) y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* 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)))))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* y (+ 1 (/ (pow x 2) (pow y 2))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -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))))))))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(* -1 (* y (- (* -1 (/ (pow x 2) (pow y 2))) 1)))
Calls

6 calls:

TimeVariablePointExpression
5.0ms
y
@0
((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (/ 1/2 y) 1/2 y x (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ x y) x) y) y) (+ (* (/ x y) x) y) (/ x y))
2.0ms
y
@-inf
((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (/ 1/2 y) 1/2 y x (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ x y) x) y) y) (+ (* (/ x y) x) y) (/ x y))
2.0ms
x
@-inf
((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (/ 1/2 y) 1/2 y x (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ x y) x) y) y) (+ (* (/ x y) x) y) (/ x y))
2.0ms
x
@inf
((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (/ 1/2 y) 1/2 y x (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ x y) x) y) y) (+ (* (/ x y) x) y) (/ x y))
2.0ms
y
@inf
((sqrt (+ (* x x) (* y y))) (+ (* (/ 1/2 y) (* x x)) y) (* (* (/ 1/2 y) x) x) (* (/ 1/2 y) x) (/ 1/2 y) 1/2 y x (sqrt (+ (* x x) (* y y))) (+ (* x x) (* y y)) (* (+ (* (/ x y) x) y) y) (+ (* (/ x y) x) y) (/ x y))

simplify226.0ms (2.9%)

Memory
6.2MiB live, 193.6MiB allocated; 24ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127538
1384538
21485518
36053517
08553474
Stop Event
iter limit
node limit
Counts
40 → 38
Calls
Call 1
Inputs
y
(+ y (* 1/2 (/ (pow x 2) y)))
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(* 1/2 (/ (pow x 2) y))
(* 1/2 (/ x y))
x
(pow y 2)
(+ (pow x 2) (pow y 2))
(+ y (/ (pow x 2) y))
(/ x y)
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(* 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)))))))
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(pow x 2)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(/ (pow x 2) y)
(* (pow x 2) (+ (/ 1 y) (/ y (pow x 2))))
(* -1 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(* -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))))))))
(+ x (* 1/2 (/ (pow y 2) x)))
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(/ 1/2 y)
(/ (+ (pow x 2) (pow y 2)) y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(* 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)))))))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(* y (+ 1 (/ (pow x 2) (pow y 2))))
(* -1 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(* -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))))))))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(* -1 (* y (- (* -1 (/ (pow x 2) (pow y 2))) 1)))
Outputs
y
(+ y (* 1/2 (/ (pow x 2) y)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* -1/8 (/ (pow x 2) (pow y 3))) (* 1/2 (/ 1 y)))))
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) y) y) (*.f64 x x) #s(literal 1/2 binary64)) y) (*.f64 x x) y)
(+ y (* (pow x 2) (+ (* (pow x 2) (- (* 1/16 (/ (pow x 2) (pow y 5))) (* 1/8 (/ 1 (pow y 3))))) (* 1/2 (/ 1 y)))))
(fma.f64 (pow.f64 x #s(literal 4 binary64)) (fma.f64 (*.f64 #s(literal 1/16 binary64) x) (/.f64 x (pow.f64 y #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 3 binary64)))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
(* 1/2 (/ (pow x 2) y))
(*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))
(* 1/2 (/ x y))
(*.f64 (/.f64 x y) #s(literal 1/2 binary64))
x
(pow y 2)
(*.f64 y y)
(+ (pow x 2) (pow y 2))
(fma.f64 y y (*.f64 x x))
(+ y (/ (pow x 2) y))
(fma.f64 (/.f64 x y) x y)
(/ x y)
(/.f64 x y)
(* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2)))))
(fma.f64 (/.f64 x x) (*.f64 (/.f64 (*.f64 y y) x) #s(literal 1/2 binary64)) x)
(* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2))))))
(*.f64 (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64))) x)
(* 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)))))))
(*.f64 (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64)))) x)
(* (pow x 2) (+ (* 1/2 (/ 1 y)) (/ y (pow x 2))))
(*.f64 (*.f64 (-.f64 (/.f64 y (*.f64 x x)) (/.f64 #s(literal -1/2 binary64) y)) x) x)
(pow x 2)
(*.f64 x x)
(* (pow x 2) (+ 1 (/ (pow y 2) (pow x 2))))
(*.f64 (*.f64 (fma.f64 (/.f64 y (*.f64 x x)) y #s(literal 1 binary64)) x) x)
(/ (pow x 2) y)
(/.f64 (*.f64 x x) y)
(* (pow x 2) (+ (/ 1 y) (/ y (pow x 2))))
(*.f64 (fma.f64 (/.f64 y (*.f64 x x)) x (/.f64 x y)) x)
(* -1 x)
(neg.f64 x)
(* -1 (* x (+ 1 (* 1/2 (/ (pow y 2) (pow x 2))))))
(*.f64 (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64)) x)
(* -1 (* x (+ 1 (+ (* -1/8 (/ (pow y 4) (pow x 4))) (* 1/2 (/ (pow y 2) (pow x 2)))))))
(*.f64 (fma.f64 (/.f64 (pow.f64 y #s(literal 4 binary64)) (pow.f64 x #s(literal 4 binary64))) #s(literal 1/8 binary64) (fma.f64 (/.f64 #s(literal -1/2 binary64) x) (/.f64 (*.f64 y y) x) #s(literal -1 binary64))) x)
(* -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))))))))
(*.f64 (neg.f64 x) (fma.f64 (pow.f64 y #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 x #s(literal 6 binary64))) (fma.f64 (pow.f64 y #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 4 binary64))) (fma.f64 (/.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) x) y) x) y #s(literal 1 binary64)))))
(+ x (* 1/2 (/ (pow y 2) x)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* -1/8 (/ (pow y 2) (pow x 3))) (* 1/2 (/ 1 x)))))
(fma.f64 (/.f64 (fma.f64 (/.f64 (/.f64 #s(literal -1/8 binary64) x) x) (*.f64 y y) #s(literal 1/2 binary64)) x) (*.f64 y y) x)
(+ x (* (pow y 2) (+ (* (pow y 2) (- (* 1/16 (/ (pow y 2) (pow x 5))) (* 1/8 (/ 1 (pow x 3))))) (* 1/2 (/ 1 x)))))
(fma.f64 (fma.f64 (fma.f64 (*.f64 #s(literal 1/16 binary64) y) (/.f64 y (pow.f64 x #s(literal 5 binary64))) (/.f64 #s(literal -1/8 binary64) (pow.f64 x #s(literal 3 binary64)))) (*.f64 y y) (/.f64 #s(literal 1/2 binary64) x)) (*.f64 y y) x)
(/ (+ (* 1/2 (pow x 2)) (pow y 2)) y)
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(/ 1/2 y)
(/.f64 #s(literal 1/2 binary64) y)
(/ (+ (pow x 2) (pow y 2)) y)
(fma.f64 (/.f64 x y) x y)
(* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2)))))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64)))) y (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
(* 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)))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) y (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64)))
(* (pow y 2) (+ 1 (/ (pow x 2) (pow y 2))))
(*.f64 (fma.f64 (/.f64 x y) x y) y)
(* y (+ 1 (/ (pow x 2) (pow y 2))))
(fma.f64 (/.f64 x y) x y)
(* -1 y)
(neg.f64 y)
(* -1 (* y (+ 1 (* 1/2 (/ (pow x 2) (pow y 2))))))
(fma.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y) (neg.f64 y))
(* -1 (* y (+ 1 (+ (* -1/8 (/ (pow x 4) (pow y 4))) (* 1/2 (/ (pow x 2) (pow y 2)))))))
(neg.f64 (fma.f64 (*.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64)))) y (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)))
(* -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))))))))
(fma.f64 (fma.f64 (pow.f64 x #s(literal 6 binary64)) (/.f64 #s(literal 1/16 binary64) (pow.f64 y #s(literal 6 binary64))) (fma.f64 (pow.f64 x #s(literal 4 binary64)) (/.f64 #s(literal -1/8 binary64) (pow.f64 y #s(literal 4 binary64))) #s(literal 1 binary64))) (neg.f64 y) (*.f64 #s(literal -1/2 binary64) (/.f64 (*.f64 x x) y)))
(* -1 (* y (- (* -1/2 (/ (pow x 2) (pow y 2))) 1)))
(fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y)
(* -1 (* y (- (* -1 (/ (pow x 2) (pow y 2))) 1)))
(*.f64 (fma.f64 (/.f64 (neg.f64 x) y) (/.f64 x y) #s(literal -1 binary64)) (neg.f64 y))

rewrite67.0ms (0.8%)

Memory
22.3MiB live, 73.1MiB allocated; 13ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
020111
028111
195111
0744102
Stop Event
iter limit
iter limit
node limit
iter limit
Counts
13 → 76
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)))
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(/.f64 #s(literal 1/2 binary64) y)
#s(literal 1/2 binary64)
y
x
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)))
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))
(*.f64 (fma.f64 (/.f64 x y) x y) y)
(fma.f64 (/.f64 x y) x y)
(/.f64 x y)
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)))
#s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x))
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (neg.f64 x)) (neg.f64 x))
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) (fabs.f64 x)) (fabs.f64 x))
(*.f64 (neg.f64 x) (*.f64 (neg.f64 x) (/.f64 #s(literal 1/2 binary64) y)))
(*.f64 (fabs.f64 x) (*.f64 (fabs.f64 x) (/.f64 #s(literal 1/2 binary64) y)))
(*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)
(*.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x))
(*.f64 #s(literal 1/2 binary64) (*.f64 (/.f64 x y) x))
(*.f64 (*.f64 x x) (/.f64 #s(literal 1/2 binary64) y))
(*.f64 x (*.f64 (/.f64 #s(literal 1/2 binary64) y) x))
(/.f64 (*.f64 #s(literal -1/2 binary64) (*.f64 x x)) (neg.f64 y))
(/.f64 (*.f64 (*.f64 x x) #s(literal -1/2 binary64)) (neg.f64 y))
(/.f64 (*.f64 x (*.f64 #s(literal 1/2 binary64) x)) y)
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x))) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/2 binary64) (*.f64 x x)) y)
(*.f64 (/.f64 #s(literal 1/2 binary64) y) x)
(*.f64 #s(literal 1/2 binary64) (/.f64 x y))
(*.f64 x (/.f64 #s(literal 1/2 binary64) y))
(/.f64 (*.f64 #s(literal -1/2 binary64) x) (neg.f64 y))
(/.f64 (*.f64 x #s(literal -1/2 binary64)) (neg.f64 y))
(/.f64 (neg.f64 (*.f64 #s(literal 1/2 binary64) x)) (neg.f64 y))
(/.f64 (*.f64 #s(literal 1/2 binary64) x) y)
(/.f64 #s(literal -1/2 binary64) (neg.f64 y))
(/.f64 #s(literal 1/2 binary64) (neg.f64 (neg.f64 y)))
(/.f64 #s(literal 1/2 binary64) y)
(neg.f64 (/.f64 #s(literal -1/2 binary64) y))
(neg.f64 (/.f64 #s(literal 1/2 binary64) (neg.f64 y)))
#s(literal 1/2 binary64)
y
x
(*.f64 (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)) #s(literal 1/4 binary64)) (pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)) #s(literal 1/4 binary64)))
(pow.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)) #s(literal 1/2 binary64))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)))
(exp.f64 (*.f64 (log.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))) #s(literal 1/2 binary64)))
#s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y))
(*.f64 (fma.f64 (/.f64 x y) x y) y)
(*.f64 y (fma.f64 (/.f64 x y) x y))
(/.f64 (*.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (*.f64 y y)) y) (-.f64 (*.f64 (/.f64 x y) x) y))
(/.f64 (*.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) y) (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64))))
(/.f64 (*.f64 y (-.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (*.f64 y y))) (-.f64 (*.f64 (/.f64 x y) x) y))
(/.f64 (*.f64 y (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64)))) (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64))))
(fma.f64 (pow.f64 y #s(literal 1 binary64)) (pow.f64 y #s(literal 1 binary64)) (*.f64 (*.f64 (/.f64 x y) x) y))
(fma.f64 (neg.f64 (neg.f64 y)) (neg.f64 (neg.f64 y)) (*.f64 (*.f64 (/.f64 x y) x) y))
(fma.f64 (neg.f64 (fabs.f64 y)) (neg.f64 (fabs.f64 y)) (*.f64 (*.f64 (/.f64 x y) x) y))
(fma.f64 (fabs.f64 (fabs.f64 y)) (fabs.f64 (fabs.f64 y)) (*.f64 (*.f64 (/.f64 x y) x) y))
(fma.f64 (neg.f64 y) (neg.f64 y) (*.f64 (*.f64 (/.f64 x y) x) y))
(fma.f64 (fabs.f64 y) (fabs.f64 y) (*.f64 (*.f64 (/.f64 x y) x) y))
(fma.f64 (*.f64 (/.f64 x y) x) y (*.f64 y y))
(fma.f64 (/.f64 x y) (*.f64 x y) (*.f64 y y))
(fma.f64 y (*.f64 (/.f64 x y) x) (*.f64 y y))
(fma.f64 y y (*.f64 (*.f64 (/.f64 x y) x) y))
(fma.f64 x (*.f64 (/.f64 x y) y) (*.f64 y y))
(+.f64 (*.f64 (*.f64 (/.f64 x y) x) y) (*.f64 y y))
(+.f64 (*.f64 y y) (*.f64 (*.f64 (/.f64 x y) x) y))
(/.f64 (-.f64 (*.f64 y y) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64))) (-.f64 y (*.f64 (/.f64 x y) x)))
(/.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (*.f64 y y))) (neg.f64 (-.f64 (*.f64 (/.f64 x y) x) y)))
(/.f64 (neg.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64)))) (neg.f64 (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)))))
(/.f64 (-.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (*.f64 y y)) (-.f64 (*.f64 (/.f64 x y) x) y))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) (fma.f64 y y (-.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (*.f64 (*.f64 (/.f64 x y) x) y))))
(/.f64 (+.f64 (pow.f64 y #s(literal 3 binary64)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64))) (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64))))
(fma.f64 (neg.f64 x) (/.f64 (neg.f64 x) y) y)
(fma.f64 (fabs.f64 x) (/.f64 (fabs.f64 x) y) y)
(fma.f64 (/.f64 x y) x y)
(fma.f64 x (/.f64 x y) y)
(-.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)) (-.f64 (*.f64 (/.f64 x y) x) y)) (/.f64 (*.f64 y y) (-.f64 (*.f64 (/.f64 x y) x) y)))
(-.f64 y (*.f64 (neg.f64 (/.f64 x y)) x))
(-.f64 y (*.f64 (neg.f64 x) (/.f64 x y)))
(+.f64 (/.f64 (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)))) (/.f64 (pow.f64 y #s(literal 3 binary64)) (fma.f64 y (-.f64 y (*.f64 (/.f64 x y) x)) (pow.f64 (*.f64 (/.f64 x y) x) #s(literal 2 binary64)))))
(+.f64 (*.f64 (/.f64 x y) x) y)
(+.f64 y (*.f64 (/.f64 x y) x))
(/.f64 (neg.f64 (neg.f64 x)) (neg.f64 (neg.f64 y)))
(/.f64 (neg.f64 x) (neg.f64 y))
(/.f64 x y)
(neg.f64 (/.f64 (neg.f64 x) y))
(neg.f64 (/.f64 x (neg.f64 y)))

eval34.0ms (0.4%)

Memory
-19.8MiB live, 27.4MiB allocated; 2ms collecting garbage
Compiler

Compiled 2 893 to 461 computations (84.1% saved)

prune7.0ms (0.1%)

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

8 alts after pruning (1 fresh and 7 done)

PrunedKeptTotal
New1141115
Fresh000
Picked022
Done055
Total1148122
Accuracy
100.0%
Counts
122 → 8
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(hypot.f64 y x)
53.0%
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
53.0%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)))
52.1%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
4.4%
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
99.0%
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y))
1.9%
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
3.7%
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)))
Compiler

Compiled 282 to 116 computations (58.9% saved)

regimes43.0ms (0.5%)

Memory
-12.8MiB live, 33.5MiB allocated; 3ms collecting garbage
Counts
12 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))))
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)))
(hypot.f64 y x)
Outputs
(hypot.f64 y x)
Calls

6 calls:

4.0ms
x
4.0ms
y
4.0ms
(*.f64 y y)
4.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
3.0ms
(+.f64 (*.f64 x x) (*.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 23 to 21 computations (8.7% saved)

regimes32.0ms (0.4%)

Memory
-16.7MiB live, 29.4MiB allocated; 3ms collecting garbage
Counts
11 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))))
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y))
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (/.f64 #s(literal 1/2 binary64) y) (*.f64 x x) y))
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 x y) x y) y)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 (fma.f64 (/.f64 (/.f64 (*.f64 x x) y) y) y y) y)))
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y))
Calls

6 calls:

15.0ms
(*.f64 y y)
4.0ms
x
4.0ms
y
3.0ms
(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
3.0ms
(+.f64 (*.f64 x x) (*.f64 y y))
Results
AccuracySegmentsBranch
99.0%1(*.f64 y y)
99.0%1(*.f64 x x)
99.0%1(+.f64 (*.f64 x x) (*.f64 y y))
99.0%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
99.0%1x
99.0%1y
Compiler

Compiled 23 to 21 computations (8.7% saved)

regimes14.0ms (0.2%)

Memory
37.6MiB live, 37.6MiB allocated; 0ms collecting garbage
Counts
6 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))))
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
Outputs
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
Calls

6 calls:

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

Compiled 23 to 21 computations (8.7% saved)

regimes19.0ms (0.2%)

Memory
-13.0MiB live, 35.9MiB allocated; 10ms collecting garbage
Counts
5 → 1
Calls
Call 1
Inputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x)))
#s(approx (sqrt (+ (* x x) (* y y))) #s(approx (+ (* (/ 1/2 y) (* x x)) y) (*.f64 (/.f64 (*.f64 x x) y) #s(literal 1/2 binary64))))
Outputs
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
Calls

6 calls:

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

Compiled 23 to 21 computations (8.7% saved)

regimes12.0ms (0.2%)

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

6 calls:

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

Compiled 23 to 21 computations (8.7% saved)

regimes6.0ms (0.1%)

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))) (neg.f64 x))
Outputs
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 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
1.9%1x
1.9%1(*.f64 x x)
1.9%1(*.f64 y y)
1.9%1(+.f64 (*.f64 x x) (*.f64 y y))
1.9%1(sqrt.f64 (+.f64 (*.f64 x x) (*.f64 y y)))
1.9%1y
Compiler

Compiled 23 to 21 computations (8.7% saved)

simplify14.0ms (0.2%)

Memory
-17.1MiB live, 26.8MiB allocated; 7ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02262
13762
27762
313462
417162
Stop Event
saturated
Calls
Call 1
Inputs
(hypot.f64 y x)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y))
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))
Outputs
(hypot.f64 y x)
#s(approx (sqrt (+ (* x x) (* y y))) (fma.f64 (*.f64 (/.f64 #s(literal 1/2 binary64) y) x) x y))
(sqrt.f64 (fma.f64 x x (*.f64 y y)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 y y)))
(sqrt.f64 #s(approx (+ (* x x) (* y y)) (*.f64 x x)))
#s(approx (sqrt (+ (* x x) (* y y))) (neg.f64 x))

derivations314.0ms (4%)

Memory
31.9MiB live, 314.7MiB allocated; 65ms collecting garbage
Stop Event
fuel
Compiler

Compiled 62 to 22 computations (64.5% saved)

preprocess126.0ms (1.6%)

Memory
31.6MiB live, 109.4MiB allocated; 39ms collecting garbage
Remove

(sort x y)

(abs x)

(abs y)

Compiler

Compiled 196 to 100 computations (49% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...