Functions
Function Documentation
Returns the arccosine of v as an angle in radians. Arccosine is the inverse operation of cosine.
See also qAtan(), qAsin(), and qCos().
Returns the arcsine of v as an angle in radians. Arcsine is the inverse operation of sine.
See also qSin(), qAtan(), and qAcos().
Returns the arctangent of a point specified by the coordinates x and y. This function will return the angle and its direction.
See also qAtan().
Returns the arctangent of v as an angle in radians. Arctangent is the inverse operation of tangent.
See also qTan(), qAcos(), and qAsin().
int qCeil(qreal v)
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.
See also qFloor().
Returns the cosine of an angle v in radians.
See also qSin() and qTan().
Returns the exponential function of e to the power of v.
See also qLn().
int qFloor(qreal v)
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.
See also qCeil().
Returns the natural logarithm of v. Natural logarithm uses base e.
See also qExp().
Returns the value of x raised to the power of y. That is, x is the base and y is the exponent.
See also qSqrt().
Returns the sine of the angle v in radians.
See also qCos() and qTan().
Returns the square root of v. This function returns a NaN if v is a negative number.
See also qPow().
Returns the tangent of an angle v in radians.
See also qSin() and qCos().