 |
Qore Programming Language Reference Manual
0.9.4.6
|
58 float abs(softfloat f);
201 float atan2(softfloat y, softfloat x);
266 int ceil(
int num,
int prec = 0);
289 float ceil(softfloat num,
int prec = 0);
548 float floor(softfloat f,
int prec = 0);
610 float hypot(softfloat x, softfloat y);
787 float pow(softfloat x = 0.0, softfloat y = 0.0);
806 int round(softint num,
int prec = 0);
830 float round(softfloat num,
int prec = 0);
1062 const MININT = qore(QoreValue(-LLONG_MAX - 1));
1064 const M_PI = 3.14159265358979323846;
number cos(number n)
Returns the cosine of the number in radians passed.
const M_PIn
PI (arbitrary-precision numeric)
Definition: ql_math.dox.h:1068
float logb(softfloat f)
Returns the exponent of the given number.
number expm1(number n)
Returns the value of e (the base of natural logarithms) raised to the power of the given number - 1.
number tanh(number n)
Returns the hyperbolic tangent of the given value.
number acos(number n)
Returns the value in radians of the arc cosine of the given value.
number atan2(number y, number x)
Returns the principal value of the arc tangent of y/x, using the signs of the two arguments to determ...
int floor(int num, int prec=0)
Returns the largest multiple of -prec-th power of 10 that is less than or equal to num....
number hypot(number x, number y)
Returns the length of the hypotenuse of a right-angle triangle with sides given as the two arguments.
number cosh(number n)
Returns the hyperbolic cosine of the given value.
number pow(number x, number y)
Returns a number raised to the power of another number.
int ceil(int num, int prec=0)
Returns the smallest multiple of -prec-th power of 10 that is greater than or equal to num....
number log1p(number n)
Returns the natural logarithm of 1 + the given number.
number exp2(number n)
Returns the value of 2 raised to the power of the given number.
int abs(int i)
Returns the absolute value of the argument passed.
const MAXINT
largest integer
Definition: ql_math.dox.h:1058
number nlog(number n)
Returns the natural logarithm of the given value.
number sin(number n)
Returns the sine of the number in radians passed.
number exp(number n)
Returns the value of e (the base of natural logarithms) raised to the power of the given number.
number cbrt(number n)
Returns the cube root of the number passed.
number log10(number n)
Returns the base 10 logarithm of the given number.
int round(softint num, int prec=0)
Returns the multiple of -prec-th power of 10 that is closest to num (numbers halfway between two such...
number sinh(number n)
Returns the hyperbolic sine of the given value.
number tan(number n)
Returns the tangent of the number in radians passed.
number asin(number n)
Returns the value in radians of the arc sine of the given value.
const M_PI
PI (floating-point)
Definition: ql_math.dox.h:1064
number sqrt(number n)
Returns the square root of the number passed.
number atan(number n)
Returns the value in radians of the arc tangent of the given value.
number number(softnumber n)
Converts the argument to a number value.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
const MININT
smallest integer
Definition: ql_math.dox.h:1062