Average Error: 0.4 → 0.4
Time: 9.6s
Precision: 64
Internal Precision: 576
\[1 + \sin x\]
\[{e}^{\left(\log \left(1 + \sin x\right)\right)}\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.4

    \[1 + \sin x\]
  2. Using strategy rm
  3. Applied add-exp-log0.4

    \[\leadsto \color{blue}{e^{\log \left(1 + \sin x\right)}}\]
  4. Using strategy rm
  5. Applied pow10.4

    \[\leadsto e^{\log \color{blue}{\left({\left(1 + \sin x\right)}^{1}\right)}}\]
  6. Applied log-pow0.4

    \[\leadsto e^{\color{blue}{1 \cdot \log \left(1 + \sin x\right)}}\]
  7. Applied exp-prod0.4

    \[\leadsto \color{blue}{{\left(e^{1}\right)}^{\left(\log \left(1 + \sin x\right)\right)}}\]
  8. Applied simplify0.4

    \[\leadsto {\color{blue}{e}}^{\left(\log \left(1 + \sin x\right)\right)}\]

Runtime

Time bar (total: 9.6s)Debug log

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