Average Error: 0.2 → 0.2
Time: 19.4s
Precision: 64
Internal precision: 128
\[\left(-x \cdot \frac{1}{\tan B}\right) + \frac{1}{\sin B}\]
\[\frac{1}{\sin B} + \frac{1}{\frac{\tan B}{-x}}\]

Error

Bits error versus B

Bits error versus x

Derivation

  1. Initial program 0.2

    \[\left(-x \cdot \frac{1}{\tan B}\right) + \frac{1}{\sin B}\]
  2. Applied simplify 0.1

    \[\leadsto \color{blue}{\frac{1}{\sin B} + \frac{-x}{\tan B}}\]
  3. Using strategy rm
  4. Applied clear-num 0.2

    \[\leadsto \frac{1}{\sin B} + \color{blue}{\frac{1}{\frac{\tan B}{-x}}}\]
  5. Removed slow pow expressions

Runtime

Time bar (total: 19.4s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(1484919424 3997784634 2750906335 1367279755 1561498658 778524355)'
(FPCore (B x)
  :name "VandenBroeck and Keller, Equation (24)"
  (+ (- (* x (/ 1 (tan B)))) (/ 1 (sin B))))