SSFloatingPoint
public protocol SSFloatingPoint : FloatingPoint
Extends the FloatingPoint Protocol by adding important constants
-
0
Declaration
Swift
static var zero: Self { get }
-
-1
Declaration
Swift
static var minusOne: Self { get }
-
1
Declaration
Swift
static var one: Self { get }
-
1 / 2
Declaration
Swift
static var half: Self { get }
-
1 / 4
Declaration
Swift
static var fourth: Self { get }
-
1 / 3
Declaration
Swift
static var third: Self { get }
-
2 / 3
Declaration
Swift
static var twothirds: Self { get }
-
2 / pi
Declaration
Swift
static var twoopi: Self { get }
-
pi / 4
Declaration
Swift
static var pifourth: Self { get }
-
pi / 3
Declaration
Swift
static var pithirds: Self { get }
-
2 pi / 3
Declaration
Swift
static var twopithird: Self { get }
-
3 pi / 4
Declaration
Swift
static var threepifourth: Self { get }
-
Euler’s gamma
Declaration
Swift
static var eulergamma: Self { get }
-
sqrt(pi)
Declaration
Swift
static var sqrtpi: Self { get }
-
2 sqrt(pi)
Declaration
Swift
static var twosqrtpi: Self { get }
-
3 pi / 9
Declaration
Swift
static var threepiate: Self { get }
-
ln(sqrt(2))
Declaration
Swift
static var lnsqrt2: Self { get }
-
sqrt(2)
Declaration
Swift
static var sqrt2: Self { get }
-
sqrt(1 / (2 pi))
Declaration
Swift
static var sqrt2piinv: Self { get }
-
Returns sqrt(2 / pi)
Declaration
Swift
static var sqrt2Opi: Self { get }
-
Undocumented
Declaration
Swift
static var lnsqrtpi: Self { get }
-
sqrt(2 pi)
Declaration
Swift
static var sqrt2pi: Self { get }
-
ln(sqrt(2 pi))
Declaration
Swift
static var lnsqrt2pi: Self { get }
-
pi / 2
Declaration
Swift
static var pihalf: Self { get }
-
sqrt(pi / 2)
Declaration
Swift
static var sqrtpihalf: Self { get }
-
ln(2)
Declaration
Swift
static var ln2: Self { get }
-
ln(10)
Declaration
Swift
static var ln10: Self { get }
-
1 / 12
Declaration
Swift
static var oo12: Self { get }
-
1 / 18
Declaration
Swift
static var oo18: Self { get }
-
1 / 24
Declaration
Swift
static var oo24: Self { get }
-
2 pi
Declaration
Swift
static var twopi: Self { get }
-
pi * pi
Declaration
Swift
static var pisquared: Self { get }
-
1 / (2 pi)
Declaration
Swift
static var oo2pi: Self { get }
-
ln(pi)
Declaration
Swift
static var lnpi: Self { get }
-
1 / pi
Declaration
Swift
static var oopi: Self { get }
-
sqrt(3)
Declaration
Swift
static var sqrt3: Self { get }
-
1 / sqrt(pi)
Declaration
Swift
static var oosqrtpi: Self { get }
-
1 / 3
Declaration
Swift
static var oo3: Self { get }
-
1 / 6
Declaration
Swift
static var oo6: Self { get }
-
2 / 3
Declaration
Swift
static var twoo3: Self { get }
-
pow(2, ¼)
Declaration
Swift
static var twoexpfourth: Self { get }
-
sqrt(6)
Declaration
Swift
static var sqrt6: Self { get }
-
Undocumented
Declaration
Swift
static var maxgamma: Self { get }