Average Error: 0.1 → 0.2
Time: 4.4m
Precision: 64
Internal Precision: 320
\[\left(\frac{m \cdot \left(1 - m\right)}{v} - 1\right) \cdot \left(1 - m\right)\]
\[\left(\left(m \cdot \left(1 - m\right)\right) \cdot \frac{1}{v} - 1\right) \cdot \left(1 - m\right)\]

Error

Bits error versus m

Bits error versus v

Derivation

  1. Initial program 0.1

    \[\left(\frac{m \cdot \left(1 - m\right)}{v} - 1\right) \cdot \left(1 - m\right)\]
  2. Using strategy rm
  3. Applied div-inv0.2

    \[\leadsto \left(\color{blue}{\left(m \cdot \left(1 - m\right)\right) \cdot \frac{1}{v}} - 1\right) \cdot \left(1 - m\right)\]

Runtime

Time bar (total: 4.4m)Debug logProfile

herbie shell --seed '#(1071373924 2949776965 1885069702 3247780810 90874544 2263903749)' +o rules:numerics
(FPCore (m v)
  :name "b parameter of renormalized beta distribution"
  :pre (and (< 0 m) (< 0 v) (< v 0.25))
  (* (- (/ (* m (- 1 m)) v) 1) (- 1 m)))