Skip to content

Latest commit

 

History

45 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IrrationalConstants.jl

Build Status Coverage Coverage

This package defines the following AbstractIrrational constants:

twoπ       #
fourπ      #
halfπ      # π / 2
quartπ     # π / 4
invπ       # 1 / π
twoinvπ    # 2 / π
fourinvπ   # 4 / π
inv2π      # 1 / (2π)
inv4π      # 1 / (4π)
sqrt2      # √2
sqrt3      # √3
sqrtπ      # √π
sqrt2π     # √2π
sqrt4π     # √4π
sqrthalfπ  # √(π / 2)
invsqrt2   # 1 / √2
invsqrtπ   # 1 / √π
invsqrt2π  # 1 / √2π
loghalf    # log(1 / 2)
logtwo     # log(2)
logten     # log(10)
logπ       # log(π)
log2π      # log(2π)
log4π      # log(4π)

Pedantic note: even though these constants are instances of AbstractIrrational, the irrationality of some of them is not known. This is the case, for example, with logπ.

About

defines additional irrationals

Resources

Code of conduct

Security policy

Stars

21 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages