Dynamically sized arbitrary‐precision integer.
Synopsis
Declared in <llvm/ADT/DynamicAPInt.h>
class DynamicAPInt { /* see-below */ };
Member Functions
Name |
Description |
Divides by a divisor known to be positive. |
|
Divides by a positive divisor in place. |
|
This operation cannot overflow. |
|
Stores the remainder of this value divided by |
|
Returns the product of this value and |
|
Multiplies this value by |
|
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ Arithmetic operators. ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ |
|
Pre‐increments this value by one. |
|
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ Assignment operators, preincrement, predecrement. ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ |
|
Unary minus operators |
|
Pre‐decrements this value by one. |
|
Subtracts |
|
Divides by |
|
Divides this value by |
|
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ Comparison operators. ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ |
|
Returns true if the value is not equal to |
|
Returns true if the value is less than |
|
Returns true if the value is less than or equal to |
|
Returns true if the value is greater than |
|
Returns true if the value is greater than or equal to |
Friends
Name |
Description |
Redeclarations of friend declaration above to make it discoverable by lookups. |
|
Returns the remainder of |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns true if |
|
Returns true if |
|
Returns true if |
|
Returns true if |
|
Returns true if |
|
Returns true if |
|
Returns the remainder of |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns true if |
|
Returns true if |
|
Returns true if |
|
Returns true if |
|
Returns true if |
|
Returns true if |
|
Stores the remainder of |
|
Divides |
|
Multiplies |
|
Subtracts |
|
‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ Convenience operator overloads for int64_t. ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ Adds |
|
is always non‐negative. |
|
Returns the least common multiple of A and B. |
|
Returns the greatest common divisor of |
|
Returns the floor of |
|
Returns the ceiling of |
|
Returns the absolute value of |
Created with MrDocs