BRL.Math: Functions Source  


Functions

IsNanCheck if a value is NAN
IsInfCheck if a value is infinite (eg: 1.0/0.0)
SqrSquare root of x
SinSine of x degrees
CosCosine of x degrees
TanTangent of x degrees
ASinInverse Sine of x
ACosInverse Cosine of x
ATanInverse Tangent of x
ATan2Inverse Tangent of two variables x , y
SinhHyperbolic sine of x
CoshHyperbolic cosine of x
TanhHyperbolic tangent of x
ExpExponential function
LogNatural logarithm
Log10Base 10 logarithm
CeilSmallest integral value not less than x
FloorLargest integral value not greater than x

Function reference

Function IsNan( x:Double )
ReturnsTrue if x is 'not a number' (eg: Sqr(-1))
DescriptionCheck if a value is NAN

Function IsInf( x:Double )
ReturnsTrue if x is infinite
DescriptionCheck if a value is infinite (eg: 1.0/0.0)

Function Sqr:Double( x:Double )
DescriptionSquare root of x

Function Sin:Double( x:Double )
DescriptionSine of x degrees

Function Cos:Double( x:Double )
DescriptionCosine of x degrees

Function Tan:Double( x:Double )
DescriptionTangent of x degrees

Function ASin:Double( x:Double )
DescriptionInverse Sine of x

Function ACos:Double( x:Double )
DescriptionInverse Cosine of x

Function ATan:Double( x:Double )
DescriptionInverse Tangent of x

Function ATan2:Double( y:Double,x:Double )
DescriptionInverse Tangent of two variables x , y

Function Sinh:Double( x:Double )
DescriptionHyperbolic sine of x

Function Cosh:Double( x:Double )
DescriptionHyperbolic cosine of x

Function Tanh:Double( x:Double )
DescriptionHyperbolic tangent of x

Function Exp:Double( x:Double )
DescriptionExponential function

Function Log:Double( x:Double )
DescriptionNatural logarithm

Function Log10:Double( x:Double )
DescriptionBase 10 logarithm

Function Ceil:Double( x:Double )
DescriptionSmallest integral value not less than x

Function Floor:Double( x:Double )
DescriptionLargest integral value not greater than x