Average Error: 0.1 → 0.1
Time: 7.2s
Precision: 64
Internal Precision: 576
\[dt \cdot a - \left(a \cdot dt\right) \cdot dt\]
\[\left(a \cdot dt\right) \cdot \left(1 - dt\right)\]

Error

Bits error versus dt

Bits error versus a

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[dt \cdot a - \left(a \cdot dt\right) \cdot dt\]
  2. Initial simplification0.1

    \[\leadsto \left(1 - dt\right) \cdot \left(dt \cdot a\right)\]
  3. Final simplification0.1

    \[\leadsto \left(a \cdot dt\right) \cdot \left(1 - dt\right)\]

Runtime

Time bar (total: 7.2s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (dt a)
  :name "dt * a - a * dt * dt"
  (- (* dt a) (* (* a dt) dt)))