Average Error: 0.1 → 0.1
Time: 4.5s
Precision: 64
Internal precision: 384
\[\frac{-\left(u \cdot u\right) \cdot u}{6}\]
\[\frac{-u \cdot u}{\frac{6}{u}}\]

Error

Bits error versus u

Derivation

  1. Initial program 0.1

    \[\frac{-\left(u \cdot u\right) \cdot u}{6}\]
  2. Using strategy rm
  3. Applied distribute-lft-neg-in 0.1

    \[\leadsto \frac{\color{blue}{\left(-u \cdot u\right) \cdot u}}{6}\]
  4. Applied associate-/l* 0.1

    \[\leadsto \color{blue}{\frac{-u \cdot u}{\frac{6}{u}}}\]
  5. Removed slow pow expressions

Runtime

Time bar (total: 4.5s) Debug log

Please include this information when filing a bug report:

herbie shell --seed '#(3052192724 3812927732 3686175817 630908657 2373248591 511094450)'
(FPCore (u)
  :name "bspline3"
  :pre (<= 0 u 1)
  (/ (- (* (* u u) u)) 6))