Average Error: 58.7 → 0
Time: 11.3s
Precision: 64
Internal Precision: 2368
\[\sin \left(\left(\left(x + 1\right) \cdot \left(x + 1\right) - x \cdot \left(x + 1\right)\right) - 1\right)\]
\[\sin x\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 58.7

    \[\sin \left(\left(\left(x + 1\right) \cdot \left(x + 1\right) - x \cdot \left(x + 1\right)\right) - 1\right)\]
  2. Applied simplify29.2

    \[\leadsto \color{blue}{\sin \left(\left(1 + x\right) - 1\right)}\]
  3. Taylor expanded around 0 0

    \[\leadsto \sin \color{blue}{x}\]

Runtime

Time bar (total: 11.3s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x)
  :name "sin((x+1)*(x+1)-x*(x+1)-1)"
  (sin (- (- (* (+ x 1) (+ x 1)) (* x (+ x 1))) 1)))