Functions |
docs.kde.org Search |
The class supports these functions:
Absolute value of A. If A is negative, returns -A otherwise returns A.
Arc-cosine of A. Returns the angle whose cosine is A.
Same as acos() but for hyperbolic cosine.
Arc-sine of A. Returns the angle whose sine is A.
Same as asin() but for hyperbolic sine.
Arc-tangent of (A). Returns the angle whose tangent is (A).
Arc-tangent of A/B. The two main differences to atan() is that it will return the right angle depending on the signs of A and B (atan() can only return values betwen -pi/2 and pi/2), and that the return value of pi/2 and -pi/2 are possible.
Same as atan() but for hyperbolic tangent.
Ceiling of A. Returns the smallest integer greater than A. Rounds up to the next higher integer.
Cosine of A. Returns the cosine of the angle A.
Same as cos() but for hyperbolic cosine.
Cotangent of A (equivalent to 1/tan(A)).
Cosecant of A (equivalent to 1/sin(A)).
Exponential of A. Returns the value of e raised to the power A where e is the base of the natural logarithm, i.e. the non-repeating value approximately equal to 2.71828182846.
Floor of A. Returns the largest integer less than A. Rounds down to the next lower integer.
If int(A) differs from 0, the return value of this function is B, else C. Only the parameter which needs to be evaluated is evaluated, the other parameter is skipped.
Rounds A to the closest integer. 0.5 is rounded to 1.
Natural (base e) logarithm of A.
Base 10 logarithm of A.
If A>B, the result is A, else B.
If A<B, the result is A, else B.
Secant of A (equivalent to 1/cos(A)).
Sine of A. Returns the sine of the angle A.
Same as sin() but for hyperbolic sine.
Square root of A. Returns the value whose square is A.
Tangent of A. Returns the tangent of the angle A.
Same as tan() but for hyperbolic tangent.