Average Error: 0.0 → 0.1
Time: 11.0s
Precision: 64
Internal precision: 384
\[\frac{2}{e^{x} + e^{-x}}\]
\[\sqrt[3]{{\left(\frac{2}{e^{x} + e^{-x}}\right)}^3}\]

Error

Bits error versus x

Derivation

  1. Initial program 0.0

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

    \[\leadsto \color{blue}{\sqrt[3]{{\left(\frac{2}{e^{x} + e^{-x}}\right)}^3}}\]
  4. Removed slow pow expressions

Runtime

Time bar (total: 11.0s) Debug logProfile

Please include this information when filing a bug report:

herbie shell --seed '#(1064524629 4159152179 2999149171 575749698 4006532819 692958815)'
(FPCore (x)
  :name "Hyperbolic secant"
  (/ 2 (+ (exp x) (exp (- x)))))