Average Error: 0.2 → 0.2
Time: 50.0s
Precision: 64
Internal Precision: 384
\[\left({\left(a \cdot a + b \cdot b\right)}^{2} + 4 \cdot \left(b \cdot b\right)\right) - 1\]
\[\left({\left((a \cdot a + \left(b \cdot b\right))_*\right)}^{2} + 4 \cdot \left(b \cdot b\right)\right) - 1\]

Error

Bits error versus a

Bits error versus b

Derivation

  1. Initial program 0.2

    \[\left({\left(a \cdot a + b \cdot b\right)}^{2} + 4 \cdot \left(b \cdot b\right)\right) - 1\]
  2. Using strategy rm
  3. Applied fma-def0.2

    \[\leadsto \left({\color{blue}{\left((a \cdot a + \left(b \cdot b\right))_*\right)}}^{2} + 4 \cdot \left(b \cdot b\right)\right) - 1\]

Runtime

Time bar (total: 50.0s)Debug logProfile

herbie shell --seed '#(1070100504 930361288 1279167582 284574201 1450237281 2578255382)' +o rules:numerics
(FPCore (a b)
  :name "Bouland and Aaronson, Equation (26)"
  (- (+ (pow (+ (* a a) (* b b)) 2) (* 4 (* b b))) 1))