Returns a value indicating whether an integer is odd.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static bool IsOdd(
BigInteger n
)
Public Shared Function IsOdd (
n As BigInteger
) As Boolean
public:
static bool IsOdd(
BigInteger n
)
static member IsOdd :
n : BigInteger -> bool
Parameters
- n
- Type: Extreme.MathematicsBigInteger
A BigInteger number.
Return Value
Type:
Booleantrue if the number is odd;
otherwise.
Reference