Introduce <sys/qmath.h>, a fixed-point math library from Netflix.
This makes it possible to perform mathematical operations
fractional values without using floating point. It operates on Q
numbers, which are integer-sized, opaque structures
to hold chosen number of integer and fractional
For a general description of the idea, see
for the actual API see the qmath(3) man page.
This is one of dependencies for the stats(3) framework.
Sponsored By: Klara Inc, Netflix
Obtained from: Netflix