Average Error: 0.0 → 0.1
Time: 6.0m
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.1

    \[\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.1

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

Runtime

Time bar (total: 6.0m)Debug logProfile

herbie shell --seed 2018198 
(FPCore (x)
  :name "Hyperbolic secant"
  (/ 2 (+ (exp x) (exp (- x)))))