Average Error: 0.0 → 0.0
Time: 5.9s
Precision: 64
Internal Precision: 320
\[\left(r - b\right) \cdot \left(r + b\right) - 1\]
\[\left(r - b\right) \cdot \left(b + r\right) - 1\]

Error

Bits error versus r

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\left(r - b\right) \cdot \left(r + b\right) - 1\]
  2. Initial simplification0.0

    \[\leadsto \left(r - b\right) \cdot \left(b + r\right) - 1\]
  3. Final simplification0.0

    \[\leadsto \left(r - b\right) \cdot \left(b + r\right) - 1\]

Runtime

Time bar (total: 5.9s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (r b)
  :name "(r-b)*(r+b)-1"
  (- (* (- r b) (+ r b)) 1))