Overflow
Description:
public namespace Overflow
Content:
Methods:
- public bool int32_add (int32 a, int32 b, out int32 result = null)
Performs an operation that adds a and b and returns the
result, with checking whether the operation overflowed.
- public bool int32_mul (int32 a, int32 b, out int32 result = null)
Performs an operation that multiplies a and b and
returns the result, with checking whether the operation overflowed.
- public bool int32_sub (int32 a, int32 b, out int32 result = null)
Performs an operation that subtracts b from a and
returns the result, with checking whether the operation overflowed.
- public bool int64_add (int64 a, int64 b, out int64 result = null)
Performs an operation that adds a and b and returns the
result, with checking whether the operation overflowed.
- public bool int64_mul (int64 a, int64 b, out int64 result = null)
Performs an operation that multiplies a and b and
returns the result, with checking whether the operation overflowed.
- public bool int64_sub (int64 a, int64 b, out int64 result = null)
Performs an operation that subtracts b from a and
returns the result, with checking whether the operation overflowed.
- public bool int_add (int a, int b, out int result = null)
Performs an operation that adds a and b and returns the
result, with checking whether the operation overflowed.
- public bool int_mul (int a, int b, out int result = null)
Performs an operation that multiplies a and b and
returns the result, with checking whether the operation overflowed.
- public bool int_sub (int a, int b, out int result = null)
Performs an operation that subtracts b from a and
returns the result, with checking whether the operation overflowed.
- public bool long_add (long a, long b, out long result = null)
Performs an operation that adds a and b and returns the
result, with checking whether the operation overflowed.
- public bool long_mul (long a, long b, out long result = null)
Performs an operation that multiplies a and b and
returns the result, with checking whether the operation overflowed.
- public bool long_sub (long a, long b, out long result = null)
Performs an operation that subtracts b from a and
returns the result, with checking whether the operation overflowed.