#ifndef FORMATTING_IS_IMPORTED #define FORMATTING_IS_IMPORTED struct exp_val { unsigned long long mantissa; int exponent; int base; }; typedef struct exp_val exp_notated; exp_notated ull_floored_exponent_notation_base( unsigned long long x, unsigned int precision, unsigned int base ); exp_notated ull_ceiled_exponent_notation_base( unsigned long long x, unsigned int precision, unsigned int base ); exp_notated ull_floored_exponent_notation( unsigned long long x, unsigned int precision ); exp_notated ull_ceiled_exponent_notation( unsigned long long x, unsigned int precision ); unsigned long long exp_notated_to_ull(exp_notated x); const char* binary_prefix(exp_notated x); const char* prefix(exp_notated x); int ull_floored_with_binary_prefix( char** res, size_t* res_bufsize, unsigned long long x ); int ull_floored_with_prefix( char** res, size_t* res_bufsize, unsigned long long x, unsigned int precision ); #endif