
(FPCore (a b angle) :precision binary64 (let* ((t_0 (* (PI) (/ angle 180.0)))) (+ (pow (* a (cos t_0)) 2.0) (pow (* b (sin t_0)) 2.0))))
\begin{array}{l}
\\
\begin{array}{l}
t_0 := \mathsf{PI}\left(\right) \cdot \frac{angle}{180}\\
{\left(a \cdot \cos t\_0\right)}^{2} + {\left(b \cdot \sin t\_0\right)}^{2}
\end{array}
\end{array}
herbie shell --seed 2025019
(FPCore (a b angle)
:name "ab-angle->ABCF C"
:precision binary64
(+ (pow (* a (cos (* (PI) (/ angle 180.0)))) 2.0) (pow (* b (sin (* (PI) (/ angle 180.0)))) 2.0)))
Please file a bug report with this information.
| run-egg: unknown command `(proofs #s(approx (pow (* a (cos (* (PI) (/ angle 180)))) 2) #s(hole binary64 (pow a 2))) . #s(approx (pow (* a (cos (* (PI) (/ angle 180)))) 2) (*.f64 a a)))` | L | C | |
|---|---|---|---|
| add-derivations-to | /home/nightlies/herbie/unbatch-derivations/src/core/derivations.rkt | 20 | 0 |
| add-derivations | /home/nightlies/herbie/unbatch-derivations/src/core/derivations.rkt | 33 | 0 |
| extract! | /home/nightlies/herbie/unbatch-derivations/src/core/mainloop.rkt | 79 | 0 |
| run-improve! | /home/nightlies/herbie/unbatch-derivations/src/core/mainloop.rkt | 45 | 0 |
| get-alternatives/report | /home/nightlies/herbie/unbatch-derivations/src/api/sandbox.rkt | 174 | 0 |
| (unnamed) | /home/nightlies/herbie/unbatch-derivations/src/api/sandbox.rkt | 265 | 6 |
| (unnamed) | /usr/share/racket/pkgs/profile-lib/main.rkt | 40 | 10 |
| profile-thunk | /usr/share/racket/pkgs/profile-lib/main.rkt | 9 | 0 |
| in-engine | /home/nightlies/herbie/unbatch-derivations/src/api/sandbox.rkt | 283 | 2 |
| (unnamed) | /usr/share/racket/collects/racket/engine.rkt | 42 | 24 |