Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 353 Bytes
VERSION < v"0.7.0-beta2.199" && __precompile__()
module Tau
export tau, τ,
sintau, costau, modtau,
sinτ, cosτ, modτ
# Use overridden macro definition to define conversion methods for tau
Base.@irrational τ 6.28318530717958647692 (2 * big(pi))
const tau = τ
include("trig.jl")
modtau(x) = Base.mod2pi(x)
const modτ = modtau
end