HairBSDF, gamma for a refracted ray

Time bar (total: 11.6s)

analyze769.0ms (6.6%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%6.3%93.7%0%0%0%0
0%0%6.3%93.7%0%0%0%1
0%0%6.3%93.7%0%0%0%2
0%0%6.3%93.7%0%0%0%3
0%0%6.3%93.7%0%0%0%4
0%0%6.3%93.7%0%0%0%5
12.5%0.8%5.5%93.7%0%0%0%6
12.5%0.8%5.5%93.7%0%0%0%7
16.7%1%4.9%93.7%0%0.4%0%8
23.7%1.4%4.4%93.7%0%0.5%0%9
26.2%1.4%3.9%93.7%0%1%0%10
33.9%1.5%3%93.7%0%1.8%0%11
38.9%1.7%2.7%93.7%0%1.9%0%12
Compiler

Compiled 44 to 30 computations (31.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 290.0ms
Operation ival-sqrt, time spent: 94.0ms, 32.0% of total-time
Operation ival-<=, time spent: 61.0ms, 21.0% of total-time
Operation ival-mult, time spent: 33.0ms, 11.0% of total-time
Operation ival-asin, time spent: 29.0ms, 10.0% of total-time
Operation ival-sub, time spent: 29.0ms, 10.0% of total-time
Operation ival-div, time spent: 25.0ms, 9.0% of total-time
Operation ival-and, time spent: 11.0ms, 4.0% of total-time
Operation const, time spent: 8.0ms, 3.0% of total-time

sample5.5s (47.3%)

Results
2.2s8344×0invalid
2.8s8255×0valid
0.0ms0valid
Precisions
Click to see histograms. Total time spent on operations: 2.5s
Operation ival-sub, time spent: 622.0ms, 25.0% of total-time
Operation ival-<=, time spent: 475.0ms, 19.0% of total-time
Operation ival-sqrt, time spent: 451.0ms, 18.0% of total-time
Operation ival-mult, time spent: 273.0ms, 11.0% of total-time
Operation ival-div, time spent: 252.0ms, 10.0% of total-time
Operation ival-asin, time spent: 239.0ms, 10.0% of total-time
Operation ival-and, time spent: 106.0ms, 4.0% of total-time
Operation const, time spent: 88.0ms, 4.0% of total-time
Bogosity

preprocess2.5s (21.7%)

Algorithm
egg-herbie
Rules
695×fma-neg
442×fma-def
400×sub-neg
392×div-sub
362×unsub-neg
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
00-0-h
00-0-(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
00-0-sinTheta_O
00-0-(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))
00-0-(*.f32 sinTheta_O sinTheta_O)
00-0-(*.f32 eta eta)
00-0-(sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))
00-0-(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
00-0-(-.f32 1 (*.f32 sinTheta_O sinTheta_O))
00-0-(/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))
00-0-(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))
00-0-eta
00-0-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060856
1127856
2227856
3566856
41212856
52194856
63378856
74404856
85956856
96574856
107434856
Stop Event
node limit
Calls
Call 1
Inputs
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 (neg.f32 sinTheta_O) (neg.f32 sinTheta_O)) (sqrt.f32 (-.f32 1 (*.f32 (neg.f32 sinTheta_O) (neg.f32 sinTheta_O)))))))))
(asin.f32 (/.f32 (neg.f32 h) (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 (neg.f32 eta) (neg.f32 eta)) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 (neg.f32 sinTheta_O) (neg.f32 sinTheta_O)) (sqrt.f32 (-.f32 1 (*.f32 (neg.f32 sinTheta_O) (neg.f32 sinTheta_O))))))))))
(neg.f32 (asin.f32 (/.f32 (neg.f32 h) (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 (neg.f32 eta) (neg.f32 eta)) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(asin.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 h h) (sqrt.f32 (-.f32 1 (*.f32 h h))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 sinTheta_O sinTheta_O) (/.f32 (*.f32 eta eta) (sqrt.f32 (-.f32 1 (*.f32 eta eta))))))))
(asin.f32 (/.f32 eta (sqrt.f32 (-.f32 (*.f32 h h) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
Outputs
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 sinTheta_O (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta)))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 sinTheta_O (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta)))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 (neg.f32 sinTheta_O) (neg.f32 sinTheta_O)) (sqrt.f32 (-.f32 1 (*.f32 (neg.f32 sinTheta_O) (neg.f32 sinTheta_O)))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 sinTheta_O (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta)))))
(asin.f32 (/.f32 (neg.f32 h) (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 (neg.f32 h) (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
(asin.f32 (/.f32 (neg.f32 h) (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 sinTheta_O (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(asin.f32 (/.f32 (neg.f32 h) (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta)))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 (neg.f32 eta) (neg.f32 eta)) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 sinTheta_O (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta)))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 (neg.f32 sinTheta_O) (neg.f32 sinTheta_O)) (sqrt.f32 (-.f32 1 (*.f32 (neg.f32 sinTheta_O) (neg.f32 sinTheta_O))))))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 sinTheta_O (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta))))))
(neg.f32 (asin.f32 (/.f32 (neg.f32 h) (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(neg.f32 (asin.f32 (/.f32 (neg.f32 h) (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O))))))
(neg.f32 (asin.f32 (/.f32 (neg.f32 h) (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 sinTheta_O (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
(neg.f32 (asin.f32 (/.f32 (neg.f32 h) (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 (neg.f32 eta) (neg.f32 eta)) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 sinTheta_O (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))))
(neg.f32 (asin.f32 (/.f32 h (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta))))))
(asin.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 h h) (sqrt.f32 (-.f32 1 (*.f32 h h))))))))
(asin.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 h h) (sqrt.f32 (neg.f32 (fma.f32 h h -1))))))))
(asin.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 h (/.f32 h (sqrt.f32 (-.f32 1 (*.f32 h h)))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 sinTheta_O sinTheta_O) (/.f32 (*.f32 eta eta) (sqrt.f32 (-.f32 1 (*.f32 eta eta))))))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 sinTheta_O sinTheta_O) (/.f32 eta (/.f32 (sqrt.f32 (-.f32 1 (*.f32 eta eta))) eta))))))
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 eta (/.f32 (neg.f32 eta) (sqrt.f32 (-.f32 1 (*.f32 eta eta)))) (*.f32 sinTheta_O sinTheta_O)))))
(asin.f32 (/.f32 eta (sqrt.f32 (-.f32 (*.f32 h h) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 eta (sqrt.f32 (fma.f32 h h (/.f32 (*.f32 sinTheta_O (neg.f32 sinTheta_O)) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 eta (sqrt.f32 (fma.f32 h h (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (neg.f32 sinTheta_O))))))
(asin.f32 (/.f32 eta (sqrt.f32 (fma.f32 h h (*.f32 (neg.f32 sinTheta_O) (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
(asin.f32 (/.f32 eta (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 h h)))))
Symmetry

(abs sinTheta_O)

(abs eta)

Compiler

Compiled 219 to 97 computations (55.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.5s
Operation ival-sub, time spent: 641.0ms, 43.0% of total-time
Operation ival-sqrt, time spent: 470.0ms, 32.0% of total-time
Operation ival-div, time spent: 245.0ms, 17.0% of total-time
Operation ival-mult, time spent: 53.0ms, 4.0% of total-time
Operation ival-asin, time spent: 47.0ms, 3.0% of total-time
Operation const, time spent: 27.0ms, 2.0% of total-time

eval1.0ms (0%)

Compiler

Compiled 57 to 32 computations (43.9% saved)

prune2.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
92.9%
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta)))))
92.9%
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
Compiler

Compiled 42 to 28 computations (33.3% saved)

localize2.5s (21.3%)

Compiler

Compiled 203 to 88 computations (56.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.6s
Operation ival-sub, time spent: 559.0ms, 35.0% of total-time
Operation ival-sqrt, time spent: 512.0ms, 32.0% of total-time
Operation ival-div, time spent: 267.0ms, 17.0% of total-time
Operation ival-mult, time spent: 108.0ms, 7.0% of total-time
Operation ival-fma, time spent: 89.0ms, 6.0% of total-time
Operation ival-asin, time spent: 45.0ms, 3.0% of total-time
Operation const, time spent: 26.0ms, 2.0% of total-time
Operation ival-neg, time spent: 8.0ms, 0.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 3 to 3 computations (0% saved)

prune3.0ms (0%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New000
Fresh000
Picked022
Done000
Total022
Accuracy
93.0%
Counts
2 → 2
Alt Table
Click to see full alt table
StatusAccuracyProgram
92.9%
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta)))))
92.9%
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
Compiler

Compiled 99 to 59 computations (40.4% saved)

regimes38.0ms (0.3%)

Accuracy

Total -0.0b remaining (-0.3%)

Threshold costs -0b (-0.3%)

Counts
3 → 1
Calls
Call 1
Inputs
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
(asin.f32 (/.f32 h (sqrt.f32 (fma.f32 sinTheta_O (/.f32 (neg.f32 sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) (*.f32 eta eta)))))
Outputs
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
Calls

10 calls:

9.0ms
(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
5.0ms
sinTheta_O
4.0ms
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
3.0ms
(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))
3.0ms
(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))
Results
AccuracySegmentsBranch
92.9%1sinTheta_O
92.9%1h
92.9%1eta
92.9%1(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))))
92.9%1(/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))
92.9%1(sqrt.f32 (-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))))
92.9%1(-.f32 (*.f32 eta eta) (/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))
92.9%1(*.f32 eta eta)
92.9%1(/.f32 (*.f32 sinTheta_O sinTheta_O) (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O))))
92.9%1(*.f32 sinTheta_O sinTheta_O)
Compiler

Compiled 113 to 71 computations (37.2% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
sub-neg
+-commutative
*-commutative
neg-mul-1
neg-sub0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02176
13776
25476
36276
46676
Stop Event
done
saturated
Calls
Call 1
Inputs
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
Outputs
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))) sinTheta_O)))))
(asin.f32 (/.f32 h (sqrt.f32 (-.f32 (*.f32 eta eta) (*.f32 sinTheta_O (/.f32 sinTheta_O (sqrt.f32 (-.f32 1 (*.f32 sinTheta_O sinTheta_O)))))))))
Compiler

Compiled 21 to 14 computations (33.3% saved)

soundness287.0ms (2.5%)

Rules
695×fma-neg
442×fma-def
400×sub-neg
392×div-sub
362×unsub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
060856
1127856
2227856
3566856
41212856
52194856
63378856
74404856
85956856
96574856
107434856
Stop Event
node limit

end0.0ms (0%)

preprocess32.0ms (0.3%)

Remove

(abs eta)

(abs sinTheta_O)

Compiler

Compiled 252 to 166 computations (34.1% saved)

Profiling

Loading profile data...