C++ - lib_ cmath

 0    21 flashcards    sir
download mp3 print play test yourself
 
Question Answer
Returns sqrt(x^2 +y^2) without intermediate overflow or underflow
start learning
hypot(x, y)
Returns the absolute value of x
start learning
abs(x)
fabs(x)
Returns the cube root of x
start learning
cbrt(x)
Returns the floating point remainder of x/y
start learning
fmod(x, y)
Returns the lowest value of a floating x and y
start learning
fmin(x, y)
Returns the highest value of a floating x and y
start learning
fmax(x, y)
Returns the value of x rounded up to its nearest integer
start learning
ceil(x)
Returns the value of x rounded down to its nearest integer
start learning
floor(x)
Returns the value of x to the power of y
start learning
pow(x, y)
Returns the absolute value of a floating x
start learning
fabs(x)
Returns the value of e^x
start learning
exp(x)
Returns the sine of x (x is in radians)
start learning
sin(x)
Returns the hyperbolic sine of a double value
start learning
sinh(x)
Returns the tangent of an angle
start learning
tan(x)
Returns the hyperbolic tangent of a double value
start learning
tanh(x)
Returns the cosine of x
start learning
cos(x)
Returns the hyperbolic cosine of x
start learning
cosh(x)
Returns the arccosine of x
start learning
acos(x)
Returns the arcsine of x
start learning
asin(x)
Returns the arctangent of x
start learning
atan(x)
Returns the cube root of x
start learning
cbrt(x)

You must sign in to write a comment