Fixed-Point Integer
Fixed-Point Integer Utilities. More...
Modules | |
Types | |
Fixed-Point Integer data types. | |
Macros | |
Fixed-Point Integer macros. | |
Functions | |
gos_result_t | gos_fpi_multiply (const gos_fpi_word_t *x, const gos_fpi_word_t *y, gos_fpi_word_t *res) |
Multiple two signed FPI words. | |
gos_result_t | gos_fpi_divide (const gos_fpi_word_t *x, const gos_fpi_word_t *y, gos_fpi_word_t *res) |
Divide signed FPI word by another signed FPI word. | |
const char * | gos_fpi_to_str_with_padding (char *buffer, const gos_fpi_word_t *x, int max_dec, int padding) |
Convert FPI to string representation. | |
gos_result_t | gos_fpi_from_str (const char *str, gos_fpi_word_t *res) |
Convert fixed-point integer string to FPI word. | |
Detailed Description
Fixed-Point Integer Utilities.