


Bits error versus re



Bits error versus im



Bits error versus base
if im < -1.777551159539224e+37Initial program 44.8
Applied simplify44.8
Taylor expanded around -inf 0.5
Applied simplify0.4
if -1.777551159539224e+37 < im < 2.654401165304728e+139Initial program 20.7
Applied simplify20.7
rmApplied clear-num20.8
Applied simplify20.7
if 2.654401165304728e+139 < im Initial program 58.5
Applied simplify58.5
Taylor expanded around inf 0.5
Applied simplify0.4
pow expressions.Time bar (total: 1.6m)Debug log
herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit +o reduce:binary-search
(FPCore (re im base)
:name "math.log/2 on complex, real part"
(/ (+ (* (log (sqrt (+ (* re re) (* im im)))) (log base)) (* (atan2 im re) 0)) (+ (* (log base) (log base)) (* 0 0))))