Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, A

Time bar (total: 2.6s)

start0.0ms (0%)

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

analyze0.0ms (0%)

Memory
1.8MiB live, 1.8MiB 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 13 to 12 computations (7.7% saved)

sample606.0ms (23.7%)

Memory
-6.2MiB live, 603.4MiB allocated; 132ms collecting garbage
Samples
374.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 180.0ms
ival-mult!: 117.0ms (65% of total)
ival-sub!: 46.0ms (25.6% of total)
ival-add!: 15.0ms (8.3% of total)
adjust: 1.0ms (0.6% of total)
Bogosity

preprocess75.0ms (3%)

Memory
-19.7MiB live, 26.2MiB allocated; 10ms collecting garbage
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02772
118772
2176472
Stop Event
node-limit
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
Compiler

Compiled 22 to 20 computations (9.1% saved)

series96.0ms (3.8%)

Memory
45.9MiB live, 45.9MiB allocated; 0ms collecting garbage
Counts
10 → 30
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 x (-.f64 y #s(literal 1 binary64)))
x
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
(*.f64 y #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(literal 918938533204673/1000000000000000 binary64)
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 x (-.f64 y #s(literal 1 binary64)))) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (- (* x (- y 1)) (* y 1/2)) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (* x (- y 1)) (*.f64 x (-.f64 y #s(literal 1 binary64))))
#s(approx x x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 (+.f64 y (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) x))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 y x))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 x (-.f64 (+.f64 y (*.f64 #s(literal -1/2 binary64) (/.f64 y x))) #s(literal 1 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (-.f64 y #s(literal 1 binary64)) (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)) x))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (-.f64 y #s(literal 1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 y x))))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) x))
#s(approx (- (* x (- y 1)) (* y 1/2)) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64)))))
#s(approx (* x (- y 1)) (fma.f64 #s(literal -1 binary64) x (*.f64 x y)))
#s(approx (- y 1) #s(literal -1 binary64))
#s(approx (- y 1) (-.f64 y #s(literal 1 binary64)))
#s(approx y y)
#s(approx (* y 1/2) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 (+.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 x y) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) y)))) #s(literal 1/2 binary64))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 y (-.f64 (+.f64 x (*.f64 #s(literal -1 binary64) (/.f64 x y))) #s(literal 1/2 binary64))))
#s(approx (* x (- y 1)) (*.f64 x y))
#s(approx (* x (- y 1)) (*.f64 y (+.f64 x (*.f64 #s(literal -1 binary64) (/.f64 x y)))))
#s(approx (- y 1) (*.f64 y (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) x)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1 binary64) x)) y)))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) x (/.f64 x y))))))
#s(approx (* x (- y 1)) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (/.f64 x y)))))
#s(approx (- y 1) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (/.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)))))
Calls

6 calls:

TimeVariablePoint
1.0ms
y
inf
1.0ms
y
-inf
1.0ms
x
-inf
1.0ms
x
inf
1.0ms
x
0

rewrite241.0ms (9.4%)

Memory
-23.8MiB live, 123.4MiB allocated; 16ms collecting garbage
Counts
10 → 38
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
(*.f64 x (-.f64 y #s(literal 1 binary64)))
x
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
(*.f64 y #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(literal 918938533204673/1000000000000000 binary64)
Outputs
(*.f64 (/.f64 (*.f64 (-.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 y #s(literal 1/2 binary64))) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64)))) (*.f64 (-.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 y #s(literal 1/2 binary64))) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))))) (-.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 y #s(literal 1/2 binary64))))
(*.f64 (-.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 y #s(literal 1/2 binary64))) (/.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64)))))
(*.f64 (/.f64 (*.f64 (-.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 y #s(literal 1/2 binary64))) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64)))) (-.f64 (pow.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 3 binary64)) (*.f64 (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 918938533204673/1000000000000000 binary64)))) (fma.f64 #s(literal 918938533204673/1000000000000000 binary64) (-.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 y #s(literal 1/2 binary64))) (*.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))))))
(*.f64 (fma.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64))) (/.f64 (-.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 y #s(literal 1/2 binary64))) (fma.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64)))))
(*.f64 (/.f64 (fma.f64 (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 918938533204673/1000000000000000 binary64) (pow.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 3 binary64))) (-.f64 (pow.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) (+.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 (*.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 2 binary64)))) (-.f64 (*.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))) (*.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))) #s(literal 918938533204673/1000000000000000 binary64))))
(*.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 y #s(literal 1/2 binary64))) (/.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 y #s(literal 1/2 binary64)))))
(*.f64 (/.f64 (*.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 y #s(literal 1/2 binary64)))) (fma.f64 (*.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) (*.f64 y y)) #s(literal 1/2 binary64)) y (pow.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) #s(literal 3 binary64)))) (fma.f64 (*.f64 y #s(literal 1/2 binary64)) (-.f64 (*.f64 y #s(literal 1/2 binary64)) (*.f64 x (-.f64 y #s(literal 1 binary64)))) (*.f64 (*.f64 (*.f64 x x) (-.f64 y #s(literal 1 binary64))) (-.f64 y #s(literal 1 binary64)))))
(*.f64 (/.f64 (*.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 y #s(literal 1/2 binary64)))) (*.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 y #s(literal 1/2 binary64))))) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))))
(*.f64 (/.f64 (-.f64 (pow.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) #s(literal 3 binary64)) (*.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (*.f64 (*.f64 y y) y))) (+.f64 (pow.f64 (*.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 y #s(literal 1/2 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 3 binary64)) (pow.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (+.f64 #s(literal 3 binary64) #s(literal 3 binary64))))) (fma.f64 (*.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 y #s(literal 1/2 binary64))) (*.f64 y #s(literal 1/2 binary64))) (-.f64 (*.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 y #s(literal 1/2 binary64))) (*.f64 y #s(literal 1/2 binary64))) (*.f64 (*.f64 (*.f64 x x) (-.f64 y #s(literal 1 binary64))) (-.f64 y #s(literal 1 binary64)))) (pow.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (+.f64 #s(literal 2 binary64) #s(literal 2 binary64)))))
(*.f64 (fma.f64 (*.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (-.f64 y #s(literal 1 binary64))) x (*.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 y #s(literal 1/2 binary64))) (*.f64 y #s(literal 1/2 binary64)))) (/.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) (fma.f64 (*.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (-.f64 y #s(literal 1 binary64))) x (*.f64 (fma.f64 (-.f64 y #s(literal 1 binary64)) x (*.f64 y #s(literal 1/2 binary64))) (*.f64 y #s(literal 1/2 binary64))))))
(*.f64 x (-.f64 y #s(literal 1 binary64)))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(*.f64 (/.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64)))
(*.f64 (/.f64 (fma.f64 y y #s(literal -1 binary64)) #s(literal 1 binary64)) (/.f64 x (+.f64 y #s(literal 1 binary64))))
(*.f64 (fma.f64 y y #s(literal -1 binary64)) (/.f64 x (+.f64 y #s(literal 1 binary64))))
x
(*.f64 #s(literal 1 binary64) (-.f64 y #s(literal 1 binary64)))
(*.f64 (/.f64 (+.f64 y #s(literal 1 binary64)) #s(literal 1 binary64)) (/.f64 (-.f64 y #s(literal 1 binary64)) (+.f64 y #s(literal 1 binary64))))
(*.f64 (/.f64 (fma.f64 y y #s(literal -1 binary64)) (fma.f64 y y #s(literal -1 binary64))) (-.f64 y #s(literal 1 binary64)))
(*.f64 (+.f64 y #s(literal 1 binary64)) (/.f64 (-.f64 y #s(literal 1 binary64)) (+.f64 y #s(literal 1 binary64))))
(*.f64 (/.f64 (fma.f64 y y #s(literal -1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 y y))) (-.f64 #s(literal 1 binary64) y))
y
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 y))
(*.f64 (neg.f64 y) (neg.f64 #s(literal 1 binary64)))
#s(literal 1 binary64)
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 #s(literal 1 binary64)))
(*.f64 (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))
(*.f64 y #s(literal 1/2 binary64))
(*.f64 #s(literal 1/2 binary64) y)
(*.f64 (*.f64 y #s(literal 1/2 binary64)) #s(literal 1 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64)) y)
(*.f64 #s(literal 1 binary64) (*.f64 y #s(literal 1/2 binary64)))
#s(literal 1/2 binary64)
#s(literal 918938533204673/1000000000000000 binary64)

eval9.0ms (0.3%)

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

Compiled 1 538 to 333 computations (78.3% saved)

prune5.0ms (0.2%)

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New56561
Fresh000
Picked101
Done000
Total57562
Accuracy
100.0%
Counts
62 → 5
Alt Table
Click to see full alt table
StatusAccuracyProgram
75.2%
(+.f64 (-.f64 #s(approx (* x (- y 1)) (*.f64 x y)) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
100.0%
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))) #s(literal 918938533204673/1000000000000000 binary64))
52.4%
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) x)) #s(literal 918938533204673/1000000000000000 binary64))
52.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
49.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
Compiler

Compiled 168 to 140 computations (16.7% saved)

series99.0ms (3.9%)

Memory
-40.6MiB live, 65.5MiB allocated; 45ms collecting garbage
Counts
22 → 41
Calls
Call 1
Inputs
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* x (- y 1)) (* y 1/2)) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64)))))
(fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(literal -1 binary64)
x
(*.f64 y (-.f64 x #s(literal 1/2 binary64)))
y
(-.f64 x #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 #s(literal 1/2 binary64) y)
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
(+.f64 (-.f64 #s(approx (* x (- y 1)) (*.f64 x y)) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(-.f64 #s(approx (* x (- y 1)) (*.f64 x y)) (*.f64 y #s(literal 1/2 binary64)))
#s(approx (* x (- y 1)) (*.f64 x y))
(*.f64 x y)
(*.f64 y #s(literal 1/2 binary64))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 x (-.f64 y #s(literal 1 binary64)))) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (- (* x (- y 1)) (* y 1/2)) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (* -1 x) (* y (- x 1/2))) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x (-.f64 y #s(literal 1 binary64)))))
#s(approx x x)
#s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y)))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx (* -1 x) (*.f64 #s(literal -1 binary64) x))
#s(approx (* x (- y 1)) (*.f64 x (-.f64 y #s(literal 1 binary64))))
#s(approx (* x y) (*.f64 x y))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 (+.f64 y (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) x))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 y x))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 x (-.f64 (+.f64 y (*.f64 #s(literal -1/2 binary64) (/.f64 y x))) #s(literal 1 binary64))))
#s(approx (* y (- x 1/2)) (*.f64 x (+.f64 y (*.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
#s(approx (- x 1/2) (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (-.f64 y #s(literal 1 binary64)) (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)) x))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (-.f64 y #s(literal 1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 y x))))))
#s(approx (+ (* -1 x) (* y (- x 1/2))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) y)))))
#s(approx (+ (* -1 x) (* y (- x 1/2))) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal 1/2 binary64) (/.f64 y x)))))))
#s(approx (* y (- x 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal 1/2 binary64) (/.f64 y x))))))
#s(approx (- x 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64)))))
#s(approx (* y (- x 1/2)) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx y y)
#s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1/2 binary64) y)))
#s(approx (* 1/2 y) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (* x (- y 1)) (fma.f64 #s(literal -1 binary64) x (*.f64 x y)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 (+.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 x y) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) y)))) #s(literal 1/2 binary64))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 y (-.f64 (+.f64 x (*.f64 #s(literal -1 binary64) (/.f64 x y))) #s(literal 1/2 binary64))))
#s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) (*.f64 y (-.f64 (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) y)) #s(literal 1/2 binary64))))
#s(approx (* x (- y 1)) (*.f64 y (+.f64 x (*.f64 #s(literal -1 binary64) (/.f64 x y)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) x)))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1 binary64) x)) y)))))))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) x (/.f64 x y))))))
#s(approx (+ (* -1 x) (* y (- x 1/2))) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) (-.f64 x #s(literal 1/2 binary64)) (/.f64 x y)))))
#s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) y))))))
#s(approx (* x (- y 1)) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (/.f64 x y)))))
Calls

6 calls:

TimeVariablePoint
3.0ms
x
-inf
3.0ms
y
inf
2.0ms
y
-inf
2.0ms
x
inf
2.0ms
x
0

rewrite263.0ms (10.3%)

Memory
33.8MiB live, 225.9MiB allocated; 38ms collecting garbage
Counts
22 → 61
Calls
Call 1
Inputs
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* x (- y 1)) (* y 1/2)) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64)))))
(fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(literal -1 binary64)
x
(*.f64 y (-.f64 x #s(literal 1/2 binary64)))
y
(-.f64 x #s(literal 1/2 binary64))
#s(literal 1/2 binary64)
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
(-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y))
(*.f64 #s(literal 1/2 binary64) y)
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) x))
(*.f64 #s(literal -1 binary64) x)
(+.f64 (-.f64 #s(approx (* x (- y 1)) (*.f64 x y)) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(-.f64 #s(approx (* x (- y 1)) (*.f64 x y)) (*.f64 y #s(literal 1/2 binary64)))
#s(approx (* x (- y 1)) (*.f64 x y))
(*.f64 x y)
(*.f64 y #s(literal 1/2 binary64))
Outputs
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x))
(*.f64 (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x) (/.f64 (-.f64 (neg.f64 x) (*.f64 y (-.f64 x #s(literal 1/2 binary64)))) (-.f64 (neg.f64 x) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))))
(*.f64 (/.f64 (*.f64 (+.f64 x (*.f64 y (-.f64 x #s(literal 1/2 binary64)))) (-.f64 x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))) (*.f64 (+.f64 x (*.f64 y (-.f64 x #s(literal 1/2 binary64)))) (-.f64 x (*.f64 y (-.f64 x #s(literal 1/2 binary64)))))) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x))
(*.f64 (/.f64 (*.f64 (+.f64 x (*.f64 y (-.f64 x #s(literal 1/2 binary64)))) (-.f64 x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))) (-.f64 (*.f64 (*.f64 x x) x) (pow.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) #s(literal 3 binary64)))) (fma.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x) (*.f64 x x)))
(*.f64 (fma.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x) (*.f64 x x)) (/.f64 (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x) (fma.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x) (*.f64 x x))))
(*.f64 (/.f64 (fma.f64 (*.f64 x x) x (pow.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) #s(literal 3 binary64))) (fma.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 x x) (pow.f64 (*.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x)) #s(literal 3 binary64)))) (fma.f64 (*.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x)) (-.f64 (*.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x)) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))
#s(literal -1 binary64)
x
(*.f64 (neg.f64 #s(literal -1 binary64)) x)
(*.f64 (neg.f64 x) #s(literal -1 binary64))
(*.f64 #s(literal -1 binary64) (neg.f64 x))
(*.f64 x (neg.f64 #s(literal -1 binary64)))
(*.f64 y (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(*.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) (-.f64 x #s(literal 1/2 binary64))) (/.f64 y (+.f64 x #s(literal 1/2 binary64))))
(*.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) #s(literal 1 binary64))
(*.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) #s(literal 1 binary64)) y)
y
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 y))
(*.f64 (neg.f64 y) (neg.f64 #s(literal 1 binary64)))
(*.f64 (+.f64 x #s(literal 1/2 binary64)) (/.f64 (-.f64 x #s(literal 1/2 binary64)) (+.f64 x #s(literal 1/2 binary64))))
(*.f64 (/.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) (-.f64 x #s(literal 1/2 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64) (*.f64 (*.f64 x x) x))) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) x) (*.f64 x x)))
(*.f64 (/.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) (-.f64 x #s(literal 1/2 binary64))) (*.f64 (+.f64 x #s(literal 1/2 binary64)) (-.f64 x #s(literal 1/2 binary64)))) (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (fma.f64 (+.f64 x #s(literal 1/2 binary64)) #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 (-.f64 x #s(literal 1/2 binary64)) (fma.f64 (+.f64 x #s(literal 1/2 binary64)) #s(literal 1/2 binary64) (*.f64 x x))))
(*.f64 (/.f64 (-.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 x x)) x (pow.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) #s(literal 3 binary64)))) (fma.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (-.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))
#s(literal 1/2 binary64)
(neg.f64 (neg.f64 #s(literal 1/2 binary64)))
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (* (- y 1) x) (- 918938533204673/1000000000000000 (* y 1/2))) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx (+ (* (- y 1) x) (- 918938533204673/1000000000000000 (* y 1/2))) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
(*.f64 (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64)) (/.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))))
(*.f64 (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64))) (/.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64)))))
(*.f64 (/.f64 (-.f64 (*.f64 (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (*.f64 (*.f64 y y) y))) (fma.f64 (*.f64 (*.f64 (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64))) #s(literal 918938533204673/1000000000000000 binary64) (pow.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) y) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))) #s(literal 3 binary64)))) (fma.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) y) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))) (-.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) y) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64))) (*.f64 (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64)))))
(*.f64 (/.f64 (*.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))) (fma.f64 (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (*.f64 (*.f64 y y) y) (*.f64 (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64)) #s(literal 918938533204673/1000000000000000 binary64)))) (fma.f64 (*.f64 #s(literal 1/2 binary64) y) (-.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 918938533204673/1000000000000000 binary64)) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) #s(literal 918938533204673/1000000000000000 binary64))))
(*.f64 (/.f64 (*.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64))) (*.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)) (fma.f64 y #s(literal 1/2 binary64) #s(literal 918938533204673/1000000000000000 binary64)))) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
(*.f64 #s(literal 1/2 binary64) y)
(*.f64 y #s(literal 1/2 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64)) y)
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) y))
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x))
(*.f64 #s(literal -1 binary64) x)
(*.f64 x #s(literal -1 binary64))
(neg.f64 x)
(+.f64 (-.f64 #s(approx (* (- y 1) x) (*.f64 x y)) (*.f64 #s(literal 1/2 binary64) y)) #s(literal 918938533204673/1000000000000000 binary64))
(-.f64 #s(approx (* (- y 1) x) (*.f64 x y)) (*.f64 #s(literal 1/2 binary64) y))
#s(approx (* (- y 1) x) (*.f64 x y))
(*.f64 x y)
(*.f64 y x)
(*.f64 (*.f64 x #s(literal 1 binary64)) y)
(*.f64 (*.f64 x y) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x y))
(*.f64 #s(literal 1/2 binary64) y)
(*.f64 y #s(literal 1/2 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) y) #s(literal 1 binary64))
(*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1 binary64)) y)
(*.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) y))

eval24.0ms (0.9%)

Memory
-0.7MiB live, 46.3MiB allocated; 1ms collecting garbage
Compiler

Compiled 3 445 to 575 computations (83.3% saved)

prune7.0ms (0.3%)

Memory
-27.2MiB live, 19.0MiB allocated; 3ms collecting garbage
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1315136
Fresh000
Picked325
Done000
Total1347141
Accuracy
100.0%
Counts
141 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x)) #s(literal 918938533204673/1000000000000000 binary64))
52.4%
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
52.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
49.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
26.5%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
27.9%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
49.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y))))
Compiler

Compiled 224 to 177 computations (21% saved)

series96.0ms (3.8%)

Memory
19.1MiB live, 115.6MiB allocated; 8ms collecting garbage
Counts
22 → 38
Calls
Call 1
Inputs
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x))
(-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x)
(*.f64 y (-.f64 x #s(literal 1/2 binary64)))
y
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
(*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64)))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x))
(neg.f64 x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y))))
#s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y)))
(fma.f64 #s(literal -1/2 binary64) y (*.f64 x y))
(*.f64 x y)
Outputs
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 x (-.f64 y #s(literal 1 binary64)))) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (- (* (- y 1) x) (* y 1/2)) (*.f64 #s(literal -1/2 binary64) y))
#s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (- (* y (- x 1/2)) x) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x (-.f64 y #s(literal 1 binary64)))))
#s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y)))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(approx (- x 1/2) (-.f64 x #s(literal 1/2 binary64)))
#s(approx x x)
#s(approx (neg x) (*.f64 #s(literal -1 binary64) x))
#s(approx (* x y) (*.f64 x y))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 y #s(literal 1 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 (+.f64 y (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) x))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 y x))))))
#s(approx (- (* (- y 1) x) (* y 1/2)) (*.f64 x (-.f64 (+.f64 y (*.f64 #s(literal -1/2 binary64) (/.f64 y x))) #s(literal 1 binary64))))
#s(approx (* y (- x 1/2)) (*.f64 x (+.f64 y (*.f64 #s(literal -1/2 binary64) (/.f64 y x)))))
#s(approx (- x 1/2) (*.f64 x (-.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (-.f64 y #s(literal 1 binary64)) (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)) x))))))
#s(approx (- (* (- y 1) x) (* y 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (-.f64 y #s(literal 1 binary64)) (*.f64 #s(literal 1/2 binary64) (/.f64 y x))))))
#s(approx (- (* y (- x 1/2)) x) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (*.f64 #s(literal -1 binary64) y)))))
#s(approx (- (* y (- x 1/2)) x) (*.f64 #s(literal -1 binary64) (*.f64 x (+.f64 #s(literal 1 binary64) (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal 1/2 binary64) (/.f64 y x)))))))
#s(approx (* y (- x 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) y (*.f64 #s(literal 1/2 binary64) (/.f64 y x))))))
#s(approx (- x 1/2) (*.f64 #s(literal -1 binary64) (*.f64 x (-.f64 (*.f64 #s(literal 1/2 binary64) (/.f64 #s(literal 1 binary64) x)) #s(literal 1 binary64)))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))))
#s(approx (- (* (- y 1) x) (* y 1/2)) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64)))))
#s(approx (- (* y (- x 1/2)) x) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x))
#s(approx (* y (- x 1/2)) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx y y)
#s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1/2 binary64) y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 (+.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 x y) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) y)))) #s(literal 1/2 binary64))))
#s(approx (- (* (- y 1) x) (* y 1/2)) (*.f64 y (-.f64 (+.f64 x (*.f64 #s(literal -1 binary64) (/.f64 x y))) #s(literal 1/2 binary64))))
#s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) (*.f64 y (-.f64 (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) y)) #s(literal 1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) x)))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1 binary64) x)) y)))))))
#s(approx (- (* (- y 1) x) (* y 1/2)) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) x (/.f64 x y))))))
#s(approx (- (* y (- x 1/2)) x) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) (-.f64 x #s(literal 1/2 binary64)) (/.f64 x y)))))
#s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 #s(literal 1/2 binary64) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) y))))))
Calls

6 calls:

TimeVariablePoint
1.0ms
y
-inf
1.0ms
x
-inf
1.0ms
y
inf
1.0ms
y
0
1.0ms
x
inf

rewrite321.0ms (12.6%)

Memory
-12.5MiB live, 271.2MiB allocated; 18ms collecting garbage
Counts
22 → 48
Calls
Call 1
Inputs
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x))
(-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x)
(*.f64 y (-.f64 x #s(literal 1/2 binary64)))
y
(-.f64 x #s(literal 1/2 binary64))
x
#s(literal 1/2 binary64)
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
(*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64)))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x))
(neg.f64 x)
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y))))
#s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y)))
(fma.f64 #s(literal -1/2 binary64) y (*.f64 x y))
(*.f64 x y)
Outputs
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x))
(*.f64 (/.f64 (*.f64 (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x)) (fma.f64 (*.f64 x x) x (pow.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) #s(literal 3 binary64)))) (fma.f64 x (-.f64 x (*.f64 y (-.f64 x #s(literal 1/2 binary64)))) (*.f64 (*.f64 (*.f64 y y) (-.f64 x #s(literal 1/2 binary64))) (-.f64 x #s(literal 1/2 binary64)))))
(*.f64 (/.f64 (*.f64 (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x)) (*.f64 (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x))) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x))
(*.f64 (fma.f64 (*.f64 (*.f64 y y) (-.f64 x #s(literal 1/2 binary64))) (-.f64 x #s(literal 1/2 binary64)) (*.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x) x)) (/.f64 (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x) (fma.f64 (*.f64 (*.f64 y y) (-.f64 x #s(literal 1/2 binary64))) (-.f64 x #s(literal 1/2 binary64)) (*.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x) x))))
(*.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x) (/.f64 (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x) (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x)))
(*.f64 (/.f64 (-.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) #s(literal 3 binary64)) (*.f64 (*.f64 x x) x)) (+.f64 (pow.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) (+.f64 #s(literal 3 binary64) #s(literal 3 binary64))) (pow.f64 (*.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x) x) #s(literal 3 binary64)))) (fma.f64 (*.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x) x) (-.f64 (*.f64 (fma.f64 (-.f64 x #s(literal 1/2 binary64)) y x) x) (*.f64 (*.f64 (*.f64 y y) (-.f64 x #s(literal 1/2 binary64))) (-.f64 x #s(literal 1/2 binary64)))) (pow.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) (+.f64 #s(literal 2 binary64) #s(literal 2 binary64)))))
(*.f64 y (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (-.f64 x #s(literal 1/2 binary64)) y)
(*.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) (-.f64 x #s(literal 1/2 binary64))) (/.f64 y (+.f64 x #s(literal 1/2 binary64))))
(*.f64 (*.f64 (-.f64 x #s(literal 1/2 binary64)) #s(literal 1 binary64)) y)
(*.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) #s(literal 1 binary64))
y
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 y))
(*.f64 (neg.f64 y) (neg.f64 #s(literal 1 binary64)))
(*.f64 (+.f64 x #s(literal 1/2 binary64)) (/.f64 (-.f64 x #s(literal 1/2 binary64)) (+.f64 x #s(literal 1/2 binary64))))
(*.f64 (/.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) (-.f64 x #s(literal 1/2 binary64))) (fma.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64) (*.f64 (*.f64 x x) x))) (fma.f64 #s(literal 1/2 binary64) (-.f64 #s(literal 1/2 binary64) x) (*.f64 x x)))
(*.f64 (/.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) (-.f64 x #s(literal 1/2 binary64))) (*.f64 (+.f64 x #s(literal 1/2 binary64)) (-.f64 x #s(literal 1/2 binary64)))) (-.f64 x #s(literal 1/2 binary64)))
(*.f64 (fma.f64 (+.f64 x #s(literal 1/2 binary64)) #s(literal 1/2 binary64) (*.f64 x x)) (/.f64 (-.f64 x #s(literal 1/2 binary64)) (fma.f64 (+.f64 x #s(literal 1/2 binary64)) #s(literal 1/2 binary64) (*.f64 x x))))
(*.f64 (/.f64 (-.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 #s(literal 1/2 binary64) #s(literal 1/2 binary64)) #s(literal 1/2 binary64))) (fma.f64 (*.f64 (*.f64 (*.f64 x x) x) (*.f64 x x)) x (pow.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) #s(literal 3 binary64)))) (fma.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (-.f64 (*.f64 (+.f64 x #s(literal 1/2 binary64)) #s(literal 1/2 binary64)) (*.f64 x x)) (*.f64 (*.f64 x x) (*.f64 x x))))
x
(neg.f64 (neg.f64 x))
#s(literal 1/2 binary64)
(neg.f64 (neg.f64 #s(literal 1/2 binary64)))
#s(literal 918938533204673/1000000000000000 binary64)
#s(approx (+ (* (- y 1) x) (- 918938533204673/1000000000000000 (* y 1/2))) #s(approx (- 918938533204673/1000000000000000 (* y 1/2)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (- 918938533204673/1000000000000000 (* y 1/2)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (* (- y 1) x) (- 918938533204673/1000000000000000 (* y 1/2))) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
(*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64)))
#s(approx (- x 1/2) #s(literal -1/2 binary64))
#s(literal -1/2 binary64)
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x))
(neg.f64 x)
#s(approx (+ (* (- y 1) x) (- 918938533204673/1000000000000000 (* y 1/2))) #s(approx (* y (- x 1/2)) (*.f64 (+.f64 x #s(literal -1/2 binary64)) y)))
#s(approx (* y (- x 1/2)) (*.f64 (+.f64 x #s(literal -1/2 binary64)) y))
(*.f64 (+.f64 x #s(literal -1/2 binary64)) y)
(*.f64 y (+.f64 x #s(literal -1/2 binary64)))
(*.f64 (*.f64 (+.f64 x #s(literal -1/2 binary64)) #s(literal 1 binary64)) y)
(*.f64 (*.f64 (+.f64 x #s(literal -1/2 binary64)) y) #s(literal 1 binary64))
(*.f64 (-.f64 #s(literal -1/2 binary64) (neg.f64 x)) y)
(*.f64 x y)
(*.f64 y x)
(*.f64 (*.f64 x #s(literal 1 binary64)) y)
(*.f64 (*.f64 x y) #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) (*.f64 x y))

eval10.0ms (0.4%)

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

Compiled 2 283 to 439 computations (80.8% saved)

prune7.0ms (0.3%)

Memory
-34.7MiB live, 11.3MiB allocated; 5ms collecting garbage
Pruning

7 alts after pruning (1 fresh and 6 done)

PrunedKeptTotal
New83184
Fresh000
Picked145
Done022
Total84791
Accuracy
100.0%
Counts
91 → 7
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.4%
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
50.0%
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 y #s(literal 1 binary64))))
52.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
49.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
26.5%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
27.9%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
49.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y))))
Compiler

Compiled 127 to 102 computations (19.7% saved)

series155.0ms (6.1%)

Memory
-2.7MiB live, 58.8MiB allocated; 148ms collecting garbage
Counts
6 → 22
Calls
Call 1
Inputs
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 y #s(literal 1 binary64))))
(*.f64 x (-.f64 y #s(literal 1 binary64)))
x
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
Outputs
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 x (-.f64 y #s(literal 1 binary64)))) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (* x (- y 1)) (*.f64 x (-.f64 y #s(literal 1 binary64))))
#s(approx x x)
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 (+.f64 y (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) x))) (+.f64 #s(literal 1 binary64) (*.f64 #s(literal 1/2 binary64) (/.f64 y x))))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 x (fma.f64 #s(literal -1 binary64) (-.f64 y #s(literal 1 binary64)) (*.f64 #s(literal -1 binary64) (/.f64 (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)) x))))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1 binary64) x)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))))
#s(approx (* x (- y 1)) (*.f64 #s(literal -1 binary64) x))
#s(approx (* x (- y 1)) (fma.f64 #s(literal -1 binary64) x (*.f64 x y)))
#s(approx (- y 1) #s(literal -1 binary64))
#s(approx (- y 1) (-.f64 y #s(literal 1 binary64)))
#s(approx y y)
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 (+.f64 x (fma.f64 #s(literal -1 binary64) (/.f64 x y) (*.f64 #s(literal 918938533204673/1000000000000000 binary64) (/.f64 #s(literal 1 binary64) y)))) #s(literal 1/2 binary64))))
#s(approx (* x (- y 1)) (*.f64 x y))
#s(approx (* x (- y 1)) (*.f64 y (+.f64 x (*.f64 #s(literal -1 binary64) (/.f64 x y)))))
#s(approx (- y 1) (*.f64 y (-.f64 #s(literal 1 binary64) (/.f64 #s(literal 1 binary64) y))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (*.f64 #s(literal -1 binary64) x)))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 #s(literal -1 binary64) (*.f64 y (+.f64 #s(literal 1/2 binary64) (fma.f64 #s(literal -1 binary64) x (*.f64 #s(literal -1 binary64) (/.f64 (+.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal -1 binary64) x)) y)))))))
#s(approx (* x (- y 1)) (*.f64 #s(literal -1 binary64) (*.f64 y (fma.f64 #s(literal -1 binary64) x (/.f64 x y)))))
#s(approx (- y 1) (*.f64 #s(literal -1 binary64) (*.f64 y (-.f64 (/.f64 #s(literal 1 binary64) y) #s(literal 1 binary64)))))
Calls

6 calls:

TimeVariablePoint
1.0ms
x
inf
1.0ms
x
-inf
0.0ms
y
-inf
0.0ms
y
inf
0.0ms
x
0

rewrite212.0ms (8.3%)

Memory
22.1MiB live, 260.9MiB allocated; 32ms collecting garbage
Counts
6 → 22
Calls
Call 1
Inputs
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 y #s(literal 1 binary64))))
(*.f64 x (-.f64 y #s(literal 1 binary64)))
x
(-.f64 y #s(literal 1 binary64))
y
#s(literal 1 binary64)
Outputs
#s(approx (- (* (- y 1) x) (- (* y 1/2) 918938533204673/1000000000000000)) (*.f64 x (-.f64 y #s(literal 1 binary64))))
(*.f64 x (-.f64 y #s(literal 1 binary64)))
(*.f64 (-.f64 y #s(literal 1 binary64)) x)
(*.f64 (/.f64 x #s(literal 1 binary64)) (-.f64 y #s(literal 1 binary64)))
(*.f64 (/.f64 (fma.f64 y y #s(literal -1 binary64)) #s(literal 1 binary64)) (/.f64 x (+.f64 y #s(literal 1 binary64))))
(*.f64 (fma.f64 y y #s(literal -1 binary64)) (/.f64 x (+.f64 y #s(literal 1 binary64))))
x
(*.f64 #s(literal 1 binary64) (-.f64 y #s(literal 1 binary64)))
(*.f64 (/.f64 (+.f64 y #s(literal 1 binary64)) #s(literal 1 binary64)) (/.f64 (-.f64 y #s(literal 1 binary64)) (+.f64 y #s(literal 1 binary64))))
(*.f64 (/.f64 (fma.f64 y y #s(literal -1 binary64)) (fma.f64 y y #s(literal -1 binary64))) (-.f64 y #s(literal 1 binary64)))
(*.f64 (+.f64 y #s(literal 1 binary64)) (/.f64 (-.f64 y #s(literal 1 binary64)) (+.f64 y #s(literal 1 binary64))))
(*.f64 (/.f64 (fma.f64 y y #s(literal -1 binary64)) (-.f64 #s(literal 1 binary64) (*.f64 y y))) (-.f64 #s(literal 1 binary64) y))
y
(*.f64 y #s(literal 1 binary64))
(*.f64 #s(literal 1 binary64) y)
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 y))
(*.f64 (neg.f64 y) (neg.f64 #s(literal 1 binary64)))
#s(literal 1 binary64)
(*.f64 #s(literal 1 binary64) #s(literal 1 binary64))
(*.f64 (neg.f64 #s(literal 1 binary64)) (neg.f64 #s(literal 1 binary64)))
(*.f64 (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))) (pow.f64 (neg.f64 #s(literal 1 binary64)) (/.f64 #s(literal 3 binary64) #s(literal 2 binary64))))
(*.f64 (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))) (pow.f64 #s(literal 1 binary64) (/.f64 #s(literal 2 binary64) #s(literal 2 binary64))))

eval11.0ms (0.4%)

Memory
-34.9MiB live, 9.4MiB allocated; 9ms collecting garbage
Compiler

Compiled 909 to 188 computations (79.3% saved)

prune3.0ms (0.1%)

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

9 alts after pruning (2 fresh and 7 done)

PrunedKeptTotal
New38240
Fresh000
Picked011
Done066
Total38947
Accuracy
100.0%
Counts
47 → 9
Alt Table
Click to see full alt table
StatusAccuracyProgram
52.4%
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
50.0%
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 y #s(literal 1 binary64))))
26.9%
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x #s(approx (- y 1) #s(literal -1 binary64))))
25.5%
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
52.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
49.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
26.5%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
27.9%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
49.4%
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y))))
Compiler

Compiled 167 to 130 computations (22.2% saved)

regimes108.0ms (4.2%)

Memory
14.5MiB live, 246.7MiB allocated; 37ms collecting garbage
Accuracy

Total 0.0b remaining (0%)

Threshold costs 0b (0%)

Counts
1 → 1
2 → 3
3 → 5
4 → 6
5 → 4
7 → 3
10 → 3
13 → 1
14 → 1
Calls
Call 1
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
Call 2
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
Call 3
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
Outputs
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
Call 4
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x #s(approx (- y 1) #s(literal -1 binary64))))
Outputs
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x #s(approx (- y 1) #s(literal -1 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
Call 5
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x #s(approx (- y 1) #s(literal -1 binary64))))
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
Call 6
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x #s(approx (- y 1) #s(literal -1 binary64))))
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
Outputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
Call 7
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x #s(approx (- y 1) #s(literal -1 binary64))))
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 y #s(literal 1 binary64))))
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y))))
Outputs
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 y #s(literal 1 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 y #s(literal 1 binary64))))
Call 8
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x #s(approx (- y 1) #s(literal -1 binary64))))
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 y #s(literal 1 binary64))))
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y))))
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x)) #s(literal 918938533204673/1000000000000000 binary64))
(+.f64 (-.f64 #s(approx (* x (- y 1)) (*.f64 x y)) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))) #s(literal 918938533204673/1000000000000000 binary64))
Outputs
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x)) #s(literal 918938533204673/1000000000000000 binary64))
Call 9
Inputs
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (- 918938533204673/1000000000000000 (* 1/2 y)) #s(literal 918938533204673/1000000000000000 binary64)))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y #s(approx (- x 1/2) #s(literal -1/2 binary64))))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* x (- y 1)) (*.f64 x y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x #s(approx (- y 1) #s(literal -1 binary64))))
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (neg.f64 x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 y (-.f64 x #s(literal 1/2 binary64))))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) (-.f64 #s(literal 918938533204673/1000000000000000 binary64) (*.f64 #s(literal 1/2 binary64) y)))
#s(approx (+ (- (* (- y 1) x) (* y 1/2)) 918938533204673/1000000000000000) (*.f64 x (-.f64 y #s(literal 1 binary64))))
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (*.f64 #s(literal -1 binary64) x)) #s(literal 918938533204673/1000000000000000 binary64))
#s(approx (+ (- (* x (- y 1)) (* y 1/2)) 918938533204673/1000000000000000) #s(approx (* y (- x 1/2)) (fma.f64 #s(literal -1/2 binary64) y (*.f64 x y))))
(+.f64 #s(approx (- (* (- y 1) x) (* y 1/2)) (-.f64 (*.f64 y (-.f64 x #s(literal 1/2 binary64))) x)) #s(literal 918938533204673/1000000000000000 binary64))
(+.f64 (-.f64 #s(approx (* x (- y 1)) (*.f64 x y)) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
(+.f64 #s(approx (- (* x (- y 1)) (* y 1/2)) (fma.f64 #s(literal -1 binary64) x (*.f64 y (-.f64 x #s(literal 1/2 binary64))))) #s(literal 918938533204673/1000000000000000 binary64))
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
Outputs
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
Calls

31 calls:

18.0ms
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
8.0ms
(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
5.0ms
(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
4.0ms
x
4.0ms
x
Results
AccuracySegmentsBranch
27.9%1x
27.9%1(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
27.9%1(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
27.9%1y
51.5%3y
33.7%4x
51.3%3(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
51.3%3(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
65.8%5(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
65.8%5(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
69.6%6(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
69.6%6(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
57.3%6y
61.3%6x
71.7%5(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
71.7%5(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
78.1%4y
98.5%3y
78.8%4x
83.8%6(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
83.8%6(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
98.9%3x
98.5%3y
100.0%1(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
100.0%1(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
100.0%1x
100.0%1y
100.0%1(-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64)))
100.0%1(+.f64 (-.f64 (*.f64 x (-.f64 y #s(literal 1 binary64))) (*.f64 y #s(literal 1/2 binary64))) #s(literal 918938533204673/1000000000000000 binary64))
100.0%1x
100.0%1y
Compiler

Compiled 422 to 236 computations (44.1% saved)

bsearch53.0ms (2.1%)

Memory
8.9MiB live, 61.3MiB allocated; 5ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
34.0ms
6.994518589101032e-5
2080849.2495453458
15.0ms
-14262.720434194616
-2.024231623111175e-12
Samples
33.0ms320×0valid
Compiler

Compiled 694 to 635 computations (8.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 25.0ms
ival-mult!: 22.0ms (87.5% of total)
ival-sub!: 2.0ms (8% of total)
ival-add!: 1.0ms (4% of total)
adjust: 0.0ms (0% of total)

bsearch29.0ms (1.2%)

Memory
-5.6MiB live, 41.5MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
11.0ms
2.4958974855817202e-8
3573.531024498557
15.0ms
-6035039.395367483
-3.095828172001074e-5
Samples
12.0ms320×0valid
Compiler

Compiled 634 to 575 computations (9.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 5.0ms
ival-mult!: 3.0ms (57% of total)
ival-sub!: 2.0ms (38% of total)
ival-add!: 1.0ms (19% of total)
adjust: 0.0ms (0% of total)

bsearch31.0ms (1.2%)

Memory
-7.7MiB live, 39.3MiB allocated; 4ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
narrow-enough
Steps
TimeLeftRight
7.0ms
2.4958974855817202e-8
3573.531024498557
11.0ms
-110598953.58269563
-6035039.395367483
10.0ms
-3.437054643576804e+151
-2.0519795618185864e+146
Samples
13.0ms352×0valid
Compiler

Compiled 949 to 780 computations (17.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 6.0ms
ival-mult!: 3.0ms (52.7% of total)
ival-sub!: 2.0ms (35.1% of total)
ival-add!: 1.0ms (17.6% of total)
adjust: 0.0ms (0% of total)

bsearch1.0ms (0%)

Memory
2.0MiB live, 2.0MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
7.240387688693478e+241
6.951061385012064e+242
0.0ms
4.923581567058949e+169
1.594560045935213e+172
0.0ms
0.9189385332046842
14263.639372727821
0.0ms
-1785.8465737160739
0.9189385207251856
0.0ms
-5.979089186454445e+269
-1.0496143325563314e+268
Compiler

Compiled 14 to 15 computations (-7.1% saved)

bsearch1.0ms (0%)

Memory
2.3MiB live, 2.3MiB allocated; 0ms collecting garbage
Algorithm
left-value
Steps
TimeLeftRight
0.0ms
7.240387688693478e+241
6.951061385012064e+242
0.0ms
14263.639372727821
3017520.6166222747
0.0ms
-1785.8465737160739
0.9189385207251856
0.0ms
-5.979089186454445e+269
-1.0496143325563314e+268
Compiler

Compiled 14 to 15 computations (-7.1% saved)

bsearch7.0ms (0.3%)

Memory
13.2MiB live, 13.2MiB allocated; 0ms collecting garbage
Algorithm
binary-search
Stop Event
narrow-enough
narrow-enough
Steps
TimeLeftRight
1.0ms
2.4958974855817202e-8
3573.531024498557
5.0ms
-6035039.395367483
-3.095828172001074e-5
Samples
2.0ms64×0valid
Compiler

Compiled 774 to 655 computations (15.4% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.0ms
ival-mult!: 1.0ms (99.8% of total)
ival-sub!: 0.0ms (0% of total)
adjust: 0.0ms (0% of total)
ival-add!: 0.0ms (0% of total)

derivations3.0ms (0.1%)

Memory
6.4MiB live, 6.4MiB allocated; 0ms collecting garbage
Stop Event
fuel
Compiler

Compiled 657 to 94 computations (85.7% saved)

preprocess79.0ms (3.1%)

Memory
-15.5MiB live, 184.7MiB allocated; 26ms collecting garbage
Compiler

Compiled 668 to 104 computations (84.4% saved)

end0.0ms (0%)

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

Profiling

Loading profile data...