ctstdmath

Members

Aliases

ceiling
alias ceiling = ceil

ceiling function.

cosec
alias cosec = csc

cosecant.

log2
alias log2 = lg

Base-2 logarithm.

Functions

atan
real atan(real x)

arctangent.

cbrt
real cbrt(in real a)
ceil
real ceil(real x)

ceiling function.

cos
real cos(real x)

cosine.

cot
real cot(real x)

cotangent.

csc
real csc(real x)

cosecant.

exp
real exp(real x)

exponential function.

exp2
real exp2(real x)

power of 2.

expm1
real expm1(real x)

equivalent to exp(x) - 1, but more accurate when |x| is small.

floor
real floor(real x)

floor function.

isInfinity
bool isInfinity(real x)
isNaN
bool isNaN(real x)
lg
real lg(real x)

Base-2 logarithm.

log
real log(real x)

Natural logarithm.

log1p
real log1p(real x)

equivalent to log(x + 1), but more accurate when |x| is small.

modHalf
real modHalf(real x, real y)

reduce x into [-y .. y] modulo 2y.

sec
real sec(real x)

secant.

sin
real sin(real x)

sine.

tan
real tan(real x)

tangent.

Meta