106#define BU_HN_DECIMAL 0x01
107#define BU_HN_NOSPACE 0x02
109#define BU_HN_DIVISOR_1000 0x08
110#define BU_HN_IEC_PREFIXES 0x10
113#define BU_HN_GETSCALE 0x10
114#define BU_HN_AUTOSCALE 0x20
Header file for the BRL-CAD common definitions.
struct bu_vls * bu_units_strings_vls(void)
const char * bu_units_string(const double mm)
void bu_mm_cvt(const struct bu_structparse *sdp, const char *name, void *base, const char *value, void *data)
int bu_dehumanize_number(const char *str, int64_t *size)
double bu_units_conversion(const char *str)
int bu_humanize_number(char *buf, size_t len, int64_t quotient, const char *suffix, size_t scale, int flags)
double bu_mm_value(const char *s)
const char * bu_nearest_units_string(const double mm)
void int float float float * scale
void float float int int int int float * size