
(FPCore (cosTheta c)
:precision binary32
(/
1.0
(+
(+ 1.0 c)
(*
(* (/ 1.0 (sqrt (PI))) (/ (sqrt (- (- 1.0 cosTheta) cosTheta)) cosTheta))
(exp (* (- cosTheta) cosTheta))))))\begin{array}{l}
\\
\frac{1}{\left(1 + c\right) + \left(\frac{1}{\sqrt{\mathsf{PI}\left(\right)}} \cdot \frac{\sqrt{\left(1 - cosTheta\right) - cosTheta}}{cosTheta}\right) \cdot e^{\left(-cosTheta\right) \cdot cosTheta}}
\end{array}
herbie shell --seed 2025030
(FPCore (cosTheta c)
:name "Beckmann Sample, normalization factor"
:precision binary32
:pre (and (and (< 0.0 cosTheta) (< cosTheta 0.9999)) (and (< -1.0 c) (< c 1.0)))
(/ 1.0 (+ (+ 1.0 c) (* (* (/ 1.0 (sqrt (PI))) (/ (sqrt (- (- 1.0 cosTheta) cosTheta)) cosTheta)) (exp (* (- cosTheta) cosTheta))))))
Please file a bug report with this information.
| operator-info: Unknown operator binary32 | L | C | |
|---|---|---|---|
| (unnamed) | /usr/share/racket/collects/racket/contract/private/arrow-higher-order.rkt | 379 | 33 |
| enode-type | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 566 | 0 |
| split-untyped-eclasses | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 621 | 0 |
| make-typed-eclasses | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 791 | 0 |
| make-regraph | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 838 | 0 |
| egraph-best | /home/nightlies/herbie/really-crazy-encodings/src/core/egg-herbie.rkt | 1395 | 0 |
| simplify-batch | /home/nightlies/herbie/really-crazy-encodings/src/core/simplify.rkt | 19 | 0 |
| (unnamed) | /usr/share/racket/collects/racket/contract/private/arrow-val-first.rkt | 486 | 18 |
| initial-simplify | /home/nightlies/herbie/really-crazy-encodings/src/core/preprocess.rkt | 54 | 0 |
| find-preprocessing | /home/nightlies/herbie/really-crazy-encodings/src/core/preprocess.rkt | 81 | 0 |
| run-improve! | /home/nightlies/herbie/really-crazy-encodings/src/core/mainloop.rkt | 45 | 0 |
| get-alternatives/report | /home/nightlies/herbie/really-crazy-encodings/src/api/sandbox.rkt | 174 | 0 |
| (unnamed) | /home/nightlies/herbie/really-crazy-encodings/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/really-crazy-encodings/src/api/sandbox.rkt | 283 | 2 |
| (unnamed) | /usr/share/racket/collects/racket/engine.rkt | 42 | 24 |