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

Invert GMLscripts.com

is_odd

is_odd(value)
Returns true if a given value is odd, false otherwise.
COPY/// is_odd(value)
//
//  Returns true if a given value is odd, false otherwise.
//
//      value       value, real
//
/// GMLscripts.com/license
{
    return (argument0 & 1);
}

Contributors: Schreib, SerMSYS, Leif902

GitHub: View · Commits · Blame · Raw