Average Error: 27.9 → 28.4
Time: 1.2m
Precision: 64
Internal Precision: 128
\[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\]
\[\frac{1}{\frac{(\left((\left(y + a\right) \cdot y + b)_*\right) \cdot \left(y \cdot y\right) + \left((y \cdot c + i)_*\right))_*}{(y \cdot \left((\left(y \cdot y\right) \cdot \left((y \cdot x + z)_*\right) + \left((y \cdot 27464.7644705 + 230661.510616)_*\right))_*\right) + t)_*}}\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus t

Bits error versus a

Bits error versus b

Bits error versus c

Bits error versus i

Derivation

  1. Initial program 27.9

    \[\frac{\left(\left(\left(x \cdot y + z\right) \cdot y + 27464.7644705\right) \cdot y + 230661.510616\right) \cdot y + t}{\left(\left(\left(y + a\right) \cdot y + b\right) \cdot y + c\right) \cdot y + i}\]
  2. Initial simplification28.1

    \[\leadsto \frac{(y \cdot \left((\left(y \cdot y\right) \cdot \left((y \cdot x + z)_*\right) + \left((y \cdot 27464.7644705 + 230661.510616)_*\right))_*\right) + t)_*}{(\left((\left(y + a\right) \cdot y + b)_*\right) \cdot \left(y \cdot y\right) + \left((y \cdot c + i)_*\right))_*}\]
  3. Using strategy rm
  4. Applied clear-num28.4

    \[\leadsto \color{blue}{\frac{1}{\frac{(\left((\left(y + a\right) \cdot y + b)_*\right) \cdot \left(y \cdot y\right) + \left((y \cdot c + i)_*\right))_*}{(y \cdot \left((\left(y \cdot y\right) \cdot \left((y \cdot x + z)_*\right) + \left((y \cdot 27464.7644705 + 230661.510616)_*\right))_*\right) + t)_*}}}\]
  5. Final simplification28.4

    \[\leadsto \frac{1}{\frac{(\left((\left(y + a\right) \cdot y + b)_*\right) \cdot \left(y \cdot y\right) + \left((y \cdot c + i)_*\right))_*}{(y \cdot \left((\left(y \cdot y\right) \cdot \left((y \cdot x + z)_*\right) + \left((y \cdot 27464.7644705 + 230661.510616)_*\right))_*\right) + t)_*}}\]

Runtime

Time bar (total: 1.2m)Debug logProfile

BaselineHerbieOracleSpan%
Regimes28.428.427.21.20%
herbie shell --seed 2018351 +o rules:numerics
(FPCore (x y z t a b c i)
  :name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2"
  (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))