Average Error: 1.2 → 0.1
Time: 13.9s
Precision: 64
Internal Precision: 576
\[\left(\frac{m \cdot \left(1 - m\right)}{v} - 1\right) \cdot m\]
\[m \cdot \left(\frac{m}{\frac{v}{1 - m}} - 1\right)\]

Error

Bits error versus m

Bits error versus v

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 1.2

    \[\left(\frac{m \cdot \left(1 - m\right)}{v} - 1\right) \cdot m\]
  2. Using strategy rm
  3. Applied associate-/l*0.1

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

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

Runtime

Time bar (total: 13.9s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (m v)
  :name "((((m*(1-m))/v)-1)*m)"
  (* (- (/ (* m (- 1 m)) v) 1) m))