Average Error: 0.0 → 0.0
Time: 56.0s
Precision: 64
Internal Precision: 384
\[\frac{2}{e^{x} + e^{-x}}\]
\[\frac{2}{e^{x} + e^{-x}}\]

Error

Bits error versus x

Derivation

  1. Initial program 0.0

    \[\frac{2}{e^{x} + e^{-x}}\]
  2. Removed slow pow expressions.

Runtime

Time bar (total: 56.0s)Debug logProfile

herbie shell --seed '#(1063282112 2455465480 4141627379 3773598652 1647277307 776739644)' 
(FPCore (x)
  :name "Hyperbolic secant"
  (/ 2 (+ (exp x) (exp (- x)))))