Graphics Reference
In-Depth Information
Intrinsic
Description
cos
Cosine function
sin
Sine function
Tangent function
tan
acos
Arcosine function
asin
Arcsine function
atan
Arctangent function
atan2
Signed arctangent function
sincos
Performs sine and cosine simultaneously
cosh
Hyberbolic cosine
sinh
Hyperbolic sine
tanh
Hyperbolic tangent
log
Natural logarithm (base e)
log2
Logarithm (base2)
logie
Logarithm (base 10)
Exponential (base e)
exp
exp2
Exponential (base 2)
pow
Raises a number to a power
sqrt
Square root
abs
Absolute value
trunk
Floating point truncation
floor
Return largest integer less than a value
ceil
Returns smallest integer greater than a value
round
Rounds to nearest integer value
frac
Returns the fractional part of a value
fmod
Floating point remainder
modf
Returns integer and fractional parts of a value
countbits
Number of storage bits for an integer
sign
Returns the sign of a value
all
Returns true if all components of a value are non-zero
any
Returns true if any components of a value are non-zero
clamp
Restricts a value to a specified minimum and maximum
degrees
Converts a value from radians to degrees
Gets the first set bit of an integer, starting at the highest-order bit and
moving downward
firstbithigh
Gets the first set bit of an integer, starting at the lowest-order bit and
moving upward
firstbitlow
Search WWH ::




Custom Search