60 if (integer->
length <= 2) {
#define PRISM_INLINE
Old Visual Studio versions do not support the inline keyword, so we need to define it to be __inline.
static PRISM_INLINE uint64_t pm_integer_uint64_value(const pm_integer_t *integer)
Return the magnitude of an integer whose length is at most 2, which always fits in a uint64_t.
static PRISM_INLINE const uint32_t * pm_integer_words(const pm_integer_t *integer, uint32_t *length)
Return the words of an integer, least significant first.
A structure represents an arbitrary-sized integer.
uint32_t length
The number of words in the magnitude, with no leading zero words.
union pm_integer_t::@107 words
The words of the magnitude.
uint32_t * values
The words of an integer whose length is greater than 2.
bool negative
Whether or not the integer is negative.
uint32_t value[2]
The words of an integer whose length is at most 2.