moreinttypes 1.9.0
Minimal library of enhanced integer types for C
Loading...
Searching...
No Matches
UInt32 Struct Reference

Encapsulates an unsigned 32-bit integer. More...

Data Fields

const uint32_t value
 The underlying value of this UInt32.
 
void(* add )(struct UInt32 *const restrict, uint32_t)
 Adds the given amount to the value of this UInt32.
 
void(* sub )(struct UInt32 *const restrict, uint32_t)
 Subtracts the given amount from the value of this UInt32.
 
void(* mul )(struct UInt32 *const restrict, uint32_t)
 Multiplies the value of this UInt32 by the given amount.
 
void(* div )(struct UInt32 *const restrict, uint32_t)
 Divides the value of this UInt32 by the given amount.
 
void(* parse )(struct UInt32 *const restrict, const char *, int)
 Attempts to set the value of this UInt32 by parsing a numeric string.
 
long double(* n_bang )(struct UInt32 *const restrict)
 Returns the factorial of this UInt32's value.
 
const char *(* to_bin )(struct UInt32 *const restrict)
 Returns the base-2 representation of this UInt32's value as a string.
 

Detailed Description

Encapsulates an unsigned 32-bit integer.