Maths Functions

acosReturns the arc cosine of x, in radians.
acoshReturns test
asinReturns the arc sine of x, in radians.
asinhReturns test
atanReturns the arc tangent of x, in radians.
atan2Returns atan(y / x), in radians.
atanhReturns test
cbrtReturns the cubed root.
ceilReturns the ceiling of x (smallest integer >= x).
combReturns test
copysignReturns test
cosReturn the cosine of x radians.
coshReturns test
degreesReturns the angle x from radians to degrees.
distReturns test
eReturns the mathematical constant e (2.718...).
erfcReturns test
expReturns e raised to the power x.
exp2Returns test
expm1Returns test
fabsReturns the absolute value of a number as a floating point.
factorialReturns x! as an exact integer.
floorReturns the floor of x (largest integer <= x).
fmodReturns test
frexpReturns test
fsumReturns test
gammaReturns test
gcdReturns the greatest common divisor of the specified integer arguments.
hypotReturns the Euclidean norm, sqrt(x*x + y*y).
idexpused to compute the expression x * (2**i) . ldexp() is the inverse function of frexp()
infReturns floating-point positive infinity.
iscloseReturns test
isfiniteReturns True if x is neither infinite nor NaN.
isinfReturns True if x is a positive or negative infinity.
isnanReturns True if x is a NaN (not a number).
isqrtReturns test
lcmReturns the least common multiple
lgammaReturns test
logReturns the natural logarithm of x.
log10Returns the base-10 logarithm of x.
log1pReturns test
log2Returns test
modfReturns test
nanReturns floating-point "not a number" (NaN).
nextafterReturns test
permReturns test
piReturns the mathematical constant p (3.14159...).
powReturns base to the power of exponent (built-in).
prodReturns test
radiansReturns the angle x from degrees to radians.
randomReturns test
randrangeReturns test
remainderReturns test
sinReturns the sine of x radians.
sinhReturns test
sqrtReturns the square root of x.
sumReturns the total of all the items of an iterable (built-in).
tanReturns the tangent of x radians.
tanhReturns test
tauReturns test
truncReturns x truncated to an integer.
ulpReturns test
acos
Returns the arc cosine of x, in radians.
acosh
Returns test
asin
Returns the arc sine of x, in radians.
asinh
Returns test
atan
Returns the arc tangent of x, in radians.
atan2
Returns atan(y / x), in radians.
atanh
Returns test
cbrt
Returns the cubed root.
ceil
Returns the ceiling of x (smallest integer >= x).
comb
Returns test
copysign
Returns test
cos
Return the cosine of x radians.
cosh
Returns test
degrees
Returns the angle x from radians to degrees.
dist
Returns test
e
Returns the mathematical constant e (2.718...).
erfc
Returns test
exp
Returns e raised to the power x.
exp2
Returns test
expm1
Returns test
fabs
Returns the absolute value of a number as a floating point.
factorial
Returns x! as an exact integer.
floor
Returns the floor of x (largest integer <= x).
fmod
Returns test
frexp
Returns test
fsum
Returns test
gamma
Returns test
gcd
Returns the greatest common divisor of the specified integer arguments.
hypot
Returns the Euclidean norm, sqrt(x*x + y*y).
idexp
used to compute the expression x * (2**i) . ldexp() is the inverse function of frexp()
inf
Returns floating-point positive infinity.
isclose
Returns test
isfinite
Returns True if x is neither infinite nor NaN.
isinf
Returns True if x is a positive or negative infinity.
isnan
Returns True if x is a NaN (not a number).
isqrt
Returns test
lcm
Returns the least common multiple
lgamma
Returns test
log
Returns the natural logarithm of x.
log10
Returns the base-10 logarithm of x.
log1p
Returns test
log2
Returns test
modf
Returns test
nan
Returns floating-point "not a number" (NaN).
nextafter
Returns test
perm
Returns test
pi
Returns the mathematical constant p (3.14159...).
pow
Returns base to the power of exponent (built-in).
prod
Returns test
radians
Returns the angle x from degrees to radians.
random
Returns test
randrange
Returns test
remainder
Returns test
sin
Returns the sine of x radians.
sinh
Returns test
sqrt
Returns the square root of x.
sum
Returns the total of all the items of an iterable (built-in).
tan
Returns the tangent of x radians.
tanh
Returns test
tau
Returns test
trunc
Returns x truncated to an integer.
ulp
Returns test

© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top