Skip to content

Commit 5094e9b

Browse files
authored
Merge pull request #1317 from acoustoelectrically/main
Adding a benchmark
2 parents 2dc3fda + 96c1ed1 commit 5094e9b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bench/demo.fpcore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,9 @@
6767
:precision binary64
6868
:pre (and (<= -1e9 a 1e9) (<= -1e9 b 1e9) (<= -1e9 c 1e9))
6969
(pow (/ (- (* 3.0 (* a c)) (pow b 2.0)) (* 9.0 (pow a 2.0))) 3.0))
70+
71+
(FPCore (x a)
72+
:name "Success Probability"
73+
:precision binary64
74+
:pre (and (<= 0.0 x 1) (<= 1/3 a 3.0))
75+
(- 1.0 (pow (- 1.0 x) a)))

0 commit comments

Comments
 (0)