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

Encapsulates a signed 8-bit integer. More...

Data Fields

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

Detailed Description

Encapsulates a signed 8-bit integer.