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