#include "log.h"
#include "format.h"
#include "numUtil.h"
Go to the source code of this file.
Functions | |
| unsigned | byteSwap32 (unsigned a) |
| Return byte-swapped version of a. | |
| int | digitsBaseTen (int x) |
| Return number of digits base 10. | |
| int | digitsBaseTwo (unsigned long x) |
| Return base two number of digits. | |
| int | positiveRangeIntersection (int start1, int end1, int start2, int end2) |
| Return number of bases in intersection of two ranges, or zero if they don't intersect. | |
| int | rangeIntersection (int start1, int end1, int start2, int end2) |
| Return amount of bases two ranges intersect over, 0 or negative if no intersection. | |
| int | roundingScale (int a, int p, int q) |
| Returns rounded a*p/q. | |
Definition in file numUtil.c.
1.5.7.1