File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name = " IrrationalConstants"
2
+ uuid = " 92d709cd-6900-40b7-9082-c6be49f344b6"
3
+ authors = [" JuliaMath" ]
4
+ version = " 0.1.0"
5
+
6
+ [compat ]
7
+ julia = " 1"
Original file line number Diff line number Diff line change
1
+ module IrrationalConstants
2
+
3
+ using Base: @irrational
4
+
5
+ export
6
+ twoπ, # 2π
7
+ fourπ, # 4π
8
+ halfπ, # π / 2
9
+ quartπ, # π / 4
10
+ invπ, # 1 / π
11
+ twoinvπ, # 2 / π
12
+ fourinvπ, # 4 / π
13
+ inv2π, # 1 / (2π)
14
+ inv4π, # 1 / (4π)
15
+ sqrt2, # √2
16
+ sqrt3, # √3
17
+ sqrtπ, # √π
18
+ sqrt2π, # √2π
19
+ sqrt4π, # √4π
20
+ sqrthalfπ, # √(π / 2)
21
+ invsqrt2, # 1 / √2
22
+ invsqrt2π, # 1 / √2π
23
+ loghalf, # log(1 / 2)
24
+ logtwo, # log(2)
25
+ logπ, # log(π)
26
+ log2π, # log(2π)
27
+ log4π # log(4π)
28
+
29
+ include (" stats.jl" )
30
+
31
+ end # module
You can’t perform that action at this time.
0 commit comments