Average Error: 0.0 → 0.0
Time: 1.6m
Precision: 64
Internal Precision: 320
\[\frac{2}{e^{x} + e^{-x}}\]
\[\sqrt[3]{{\left(\frac{2}{e^{-x} + e^{x}}\right)}^{3}}\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\frac{2}{e^{x} + e^{-x}}\]
  2. Using strategy rm
  3. Applied add-cbrt-cube0.0

    \[\leadsto \color{blue}{\sqrt[3]{\left(\frac{2}{e^{x} + e^{-x}} \cdot \frac{2}{e^{x} + e^{-x}}\right) \cdot \frac{2}{e^{x} + e^{-x}}}}\]
  4. Applied simplify0.0

    \[\leadsto \sqrt[3]{\color{blue}{{\left(\frac{2}{e^{-x} + e^{x}}\right)}^{3}}}\]

Runtime

Time bar (total: 1.6m)Debug logProfile

herbie shell --seed '#(1072743783 989954326 4239155542 3782239461 3602631542 1719177920)' 
(FPCore (x)
  :name "Hyperbolic secant"
  (/ 2 (+ (exp x) (exp (- x)))))