|
moreinttypes 1.9.0
Minimal library of enhanced integer types for C
|
Encapsulates an unsigned 64-bit integer. More...
Data Fields | |
| const uint64_t | value |
| The underlying value of this UInt64. | |
| void(* | add )(struct UInt64 *const restrict, uint64_t) |
| Adds the given amount to the value of this UInt64. | |
| void(* | sub )(struct UInt64 *const restrict, uint64_t) |
| Subtracts the given amount from the value of this UInt64. | |
| void(* | mul )(struct UInt64 *const restrict, uint64_t) |
| Multiplies the value of this UInt64 by the given amount. | |
| void(* | div )(struct UInt64 *const restrict, uint64_t) |
| Divides the value of this UInt64 by the given amount. | |
| void(* | parse )(struct UInt64 *const restrict, const char *, int) |
| Attempts to set the value of this UInt64 by parsing a numeric string. | |
| long double(* | n_bang )(struct UInt64 *const restrict) |
| Returns the factorial of this UInt64's value. | |
| const char *(* | to_bin )(struct UInt64 *const restrict) |
| Returns the base-2 representation of this UInt64's value as a string. | |
Encapsulates an unsigned 64-bit integer.