Skip to content

Commit b54f3f0

Browse files
lindahuadevmotion
authored andcommitted
fine-tune normpdf & normcdf
1 parent 11fe9d6 commit b54f3f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/stats.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
@irrational sqrt4π 3.5449077018110320546 sqrt(big(π) * 4.0)
1919
@irrational sqrthalfπ 1.2533141373155002512 sqrt(big(0.5)*π)
2020

21+
@irrational invsqrt2 0.7071067811865475244 inv(big(sqrt2))
22+
@irrational invsqrt2π 0.3989422804014326779 inv(big(sqrt2π))
23+
2124
@irrational loghalf -0.6931471805599453094 log(big(0.5))
2225
@irrational logtwo 0.6931471805599453094 log(big(2.))
2326
@irrational logπ 1.1447298858494001741 log(big(π))

0 commit comments

Comments
 (0)