Definition in file unit.c.
Go to the source code of this file.
Functions | |
| int | unit_constant (char name, double value) |
| int | unit_convert (char *from, char *to, double *pValue) |
| Convert a value from one unit to another. | |
| int | unit_convert_ex (UNIT *pFrom, UNIT *pTo, double *pValue) |
| Convert a value from one unit to another. | |
| int | unit_derived (char *name, char *derivation) |
| UNIT * | unit_find (char *unit) |
| Find a unit. | |
| UNIT * | unit_find_underived (char *unit) |
| void | unit_init (void) |
| Initialize the unit manager. | |
| int | unit_precision (char *term) |
| int | unit_primary (char *name, double c, double e, double h, double k, double m, double s, double a, double b, int prec) |
| int | unit_test (void) |
| Test the unit manager. | |