ql_math.dox.h
namespace Qore {
int abs(int i);
number abs(number n);
float abs(softfloat f);
float abs();
number acos(number n);
float acos(softfloat f);
number asin(number n);
float asin(softfloat f);
float asin();
number atan(number n);
float atan(softfloat f);
float atan();
number atan2(number y, number x);
float atan2(softfloat y, softfloat x);
float atan2();
number cbrt(number n);
float cbrt(softfloat f);
float cbrt();
int ceil(int num, int prec = 0);
float ceil(softfloat num, int prec = 0);
number ceil(number num, int prec = 0);
float ceil();
int compare(number n1, number n2, number epsilon);
int compare(float n1, float n2, float epsilon);
number cos(number n);
float cos(float f);
float cos();
number cosh(number n);
float cosh(softfloat f);
float cosh();
number exp(number n);
float exp(softfloat f);
float exp();
number exp2(number n);
float exp2(softfloat f);
float exp2();
number expm1(number n);
float expm1(softfloat f);
float expm1();
int floor(int num, int prec = 0);
float floor(softfloat f, int prec = 0);
number floor(number num, int prec = 0);
float floor();
number hypot(number x, number y);
float hypot(softfloat x, softfloat y);
float hypot();
number log10(number n);
float log10(softfloat f);
float log10();
number log1p(number n);
float log1p(softfloat f);
float log1p();
float logb(softfloat f);
float logb();
number nlog(number n);
float nlog(softfloat f);
float nlog();
number pow(number x, number y);
float pow(softfloat x = 0.0, softfloat y = 0.0);
int round(softint num, int prec = 0);
float round(softfloat num, int prec = 0);
number round(number num, int prec = 0);
float round();
number sin(number n);
float sin(softfloat f);
float sin();
number sinh(number n);
float sinh(softfloat f);
float sinh();
number sqrt(number n);
float sqrt(softfloat f);
float sqrt();
number tan(number n);
float tan(softfloat f);
float tan();
number tanh(number n);
float tanh(softfloat f);
float tanh();
}
namespace Qore {
const MAXINT = LLONG_MAX;
const MININT = qore(QoreValue(-LLONG_MAX - 1));
const M_PI = 3.14159265358979323846;
const M_PIn = qore(pi_number());
}
Qore::abs
int abs(int i)
Returns the absolute value of the argument passed.
Qore::tan
number tan(number n)
Returns the tangent of the number in radians passed.
Qore::exp
number exp(number n)
Returns the value of e (the base of natural logarithms) raised to the power of the given number...
Qore::MAXINT
const MAXINT
largest integer
Definition: ql_math.dox.h:1088
Qore::expm1
number expm1(number n)
Returns the value of e (the base of natural logarithms) raised to the power of the given number - 1...
Qore::hypot
number hypot(number x, number y)
Returns the length of the hypotenuse of a right-angle triangle with sides given as the two arguments...
Qore::number
number number(softnumber n)
Converts the argument to a number value.
Qore::asin
number asin(number n)
Returns the value in radians of the arc sine of the given value.
Qore::logb
float logb(softfloat f)
Returns the exponent of the given number.
Qore::exp2
number exp2(number n)
Returns the value of 2 raised to the power of the given number.
Qore::sqrt
number sqrt(number n)
Returns the square root of the number passed.
Qore::MININT
const MININT
smallest integer
Definition: ql_math.dox.h:1092
Qore::cosh
number cosh(number n)
Returns the hyperbolic cosine of the given value.
Qore::log1p
number log1p(number n)
Returns the natural logarithm of 1 + the given number.
Qore::log10
number log10(number n)
Returns the base 10 logarithm of the given number.
Qore::nlog
number nlog(number n)
Returns the natural logarithm of the given value.
Qore::sin
number sin(number n)
Returns the sine of the number in radians passed.
Qore::sinh
number sinh(number n)
Returns the hyperbolic sine of the given value.
Qore::atan2
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...
Qore::tanh
number tanh(number n)
Returns the hyperbolic tangent of the given value.
Qore::M_PI
const M_PI
PI (floating-point)
Definition: ql_math.dox.h:1094
Qore::acos
number acos(number n)
Returns the value in radians of the arc cosine of the given value.
Qore::cos
number cos(number n)
Returns the cosine of the number in radians passed.
Qore::M_PIn
const M_PIn
PI (arbitrary-precision numeric)
Definition: ql_math.dox.h:1098
Qore::ceil
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...
Qore::compare
int compare(number n1, number n2, number epsilon)
Compares numbers with a given epsilon.
Qore::cbrt
number cbrt(number n)
Returns the cube root of the number passed.
Qore::floor
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...
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
Qore::atan
number atan(number n)
Returns the value in radians of the arc tangent of the given value.
Qore::round
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...
Qore::pow
number pow(number x, number y)
Returns a number raised to the power of another number.