Int Node Catalog
Int category
Generated from 52 catalog nodes in Math/Int.
Nodes in this category
Showing 52 of 52 generated node docs.
!= (Int)
Math/IntChecks if two integers are unequal
% (Int)
Math/IntCalculates the remainder of integer division
* (Int)
Math/IntMultiplies two Integers
+ (Int)
Math/IntAdds two Integers
- (Int)
Math/IntSubtracts two Integers
/ (Int)
Math/IntDivides two Integers (handles division by zero)
// (Int)
Math/IntDivides two integers and truncates towards zero
< (Int)
Math/IntChecks if the first integer is less than the second
<= (Int)
Math/IntChecks if the first integer is less than or equal to the second
== (Int)
Math/IntChecks if two integers are equal
> (Int)
Math/IntChecks if the first integer is greater than the second
>= (Int)
Math/IntChecks if the first integer is greater than or equal to the second
Absolute
Math/IntReturns the absolute value of an Integer
Clamp
Math/IntClamps an integer within a range
Decrement
Math/IntDecreases an integer by a step
Floor Divide (Int)
Math/IntDivides two integers and rounds towards negative infinity
From Base
Math/IntParses an integer from binary, octal, decimal or hexadecimal text
Greatest Common Divisor
Math/IntLargest integer that divides both inputs
Increment
Math/IntIncreases an integer by a step
Integer Limits
Math/IntThe smallest and largest representable integer
Is Even
Math/IntChecks whether an integer is divisible by two
Is Negative
Math/IntChecks whether an integer is less than zero
Is Odd
Math/IntChecks whether an integer is not divisible by two
Is Positive
Math/IntChecks whether an integer is greater than zero
Least Common Multiple
Math/IntSmallest positive integer that both inputs divide
Max
Math/IntReturns the larger of two integers
Min
Math/IntReturns the smaller of two integers
Modulo (Int)
Math/IntRemainder that is always positive, unlike the % operator
Negate (Int)
Math/IntFlips the sign of an integer
Power
Math/IntCalculates the power of an integer
Root
Math/IntCalculates the nth root of an integer
Sign (Int)
Math/IntReturns -1, 0 or 1 depending on the sign of an integer
To Base
Math/IntFormats an integer as binary, octal, decimal or hexadecimal text
To Float
Math/IntConverts an integer into a float
Average (Int)
Math/Int/AggregateArithmetic mean of every integer in an array
Max Of (Int)
Math/Int/AggregateLargest integer in an array
Min Of (Int)
Math/Int/AggregateSmallest integer in an array
Product (Int)
Math/Int/AggregateMultiplies every integer in an array
Sum (Int)
Math/Int/AggregateAdds up every integer in an array
& (Int)
Math/Int/BitwiseBitwise AND of two integers
<< (Int)
Math/Int/BitwiseShifts the bits of an integer to the left
>> (Int)
Math/Int/BitwiseShifts the bits of an integer to the right
Count Ones
Math/Int/BitwiseNumber of bits that are set to one
Leading Zeros
Math/Int/BitwiseNumber of zero bits before the highest set bit
Trailing Zeros
Math/Int/BitwiseNumber of zero bits after the lowest set bit
^ (Int)
Math/Int/BitwiseBitwise XOR of two integers
| (Int)
Math/Int/BitwiseBitwise OR of two integers
~ (Int)
Math/Int/BitwiseInverts every bit of an integer
Checked Arithmetic
Math/Int/OverflowArithmetic that reports overflow and division by zero instead of failing
Saturating Arithmetic
Math/Int/OverflowArithmetic that clamps to the integer limits instead of overflowing
Wrapping Arithmetic
Math/Int/OverflowArithmetic that wraps around the integer limits
Random Integer in Range
Math/Int/RandomGenerates a random integer within a specified range