You are currently viewing the GMLscripts.com static mirror. Forum access and script submissions are not available through this mirror.

Invert GMLscripts.com

Computation :: Real Numbers

acos(rad,n)
Returns the arccosine of a given angle for the nth repetition.
asin(rad,n)
Returns the arcsine of a given angle for the nth repetition.
factor(number)
number positive integer, real
factor_quadratic(b,c)
Returns a string of factors for any quadratic equation (ax^2+bx+c=0), where a = 1 and b and c are integers.
fibonacci(n)
Returns the nth number of the Fibonacci sequence.
gcd(a,b)
Returns the greatest common divisor of the given integers.
is_even(value)
Returns true if a given value is even, false otherwise.
is_factor(divisor,value)
Returns true if a given divisor is a factor of a given value, false otherwise.
is_odd(value)
Returns true if a given value is odd, false otherwise.
is_power(value,base)
Returns true if a given value is a power of the a given base, false if it is not, and (-1) if the result is undefined.
lcm(a,b)
Returns the least common multiple of the given integers.
next_pow2(n)
Returns the next power-of-two greater than or equal to a given value.
round_fixed(number,places)
Returns the given number rounded to the a number of places.
select(n,choice0,choice1,..)
Returns an argument selected by n.
select_relative(current,delta,choice1,choice2...)
Returns an argument in a position relative to a given value.
select_relative_wrap(current,delta,choice1,choice2...)
Returns an argument in a position relative to a given value.
sum_interval(m,n)
Returns the sum of positive integers between m and n, inclusive.
toggle(b)
Returns the given Boolean value negated.