CopperSpice API
1.9.2
|
Header which provides various math functions. More...
Functions | |
qreal | qAcos (qreal v) |
qreal | qAsin (qreal v) |
qreal | qAtan (qreal v) |
qreal | qAtan2 (qreal y, qreal x) |
int | qCeil (qreal v) |
qreal | qCos (qreal v) |
qreal | qExp (qreal v) |
int | qFloor (qreal v) |
qreal | qLn (qreal v) |
qreal | qPow (qreal x, qreal y) |
qreal | qSin (qreal v) |
qreal | qSqrt (qreal v) |
qreal | qTan (qreal v) |
In order to use the following functions include <qmath.h>.
Returns the arctangent of a point specified by the coordinates y and x. This function will return the angle (argument) of that point.
|
inline |
Return the ceiling of the value v.
The ceiling is the smallest integer that is not less than v. For example, if v is 41.2, then the ceiling is 42.
|
inline |
Return the floor of the value v.
The floor is the largest integer that is not greater than v. For example, if v is 41.2, then the floor is 41.
Returns the natural logarithm of v. Natural logarithm uses base e.
Returns the value of x raised to the power of y. That is, x is the base and y is the exponent.
Returns the square root of v. This function returns a NaN if v is a negative number.