trasz 8914da68f6 Introduce <sys/qmath.h>, a fixed-point math library from Netflix.
This makes it possible to perform mathematical operations
on
fractional values without using floating point. It operates on Q
numbers, which are integer-sized, opaque structures initialized
to hold a chosen number of integer and fractional
bits.


For a general description of the Q number system, see the "Fixed Point
Representation & Fractional Math" whitepaper[1]; for the actual
API see the qmath(3) man page.

This is one of dependencies for the upcoming stats(3) framework[2]
that will be applied to the TCP stack in a later commit.

1. https://www.superkits.net/whitepapers/Fixed%20Point%20Representation%20&%20Fractional%20Math.pdf
2. https://reviews.freebsd.org/D20477

Reviewed by:	bcr (man pages, earlier version), sef (earlier version)
Discussed with:	cem, dteske, imp, lstewart
Sponsored By:	Klara Inc, Netflix
Obtained from:	Netflix
Differential Revision:	https://reviews.freebsd.org/D20116
2019-08-27 11:46:22 +00:00
..
2019-06-15 17:08:32 +00:00
2019-07-31 17:47:12 +00:00
2019-02-26 05:59:22 +00:00
2019-04-02 12:50:01 +00:00
2019-04-22 18:38:54 +00:00
2018-03-29 19:43:29 +00:00
2019-07-19 15:10:53 +00:00
2019-05-30 19:18:01 +00:00
2018-11-04 16:08:59 +00:00
2019-02-25 18:22:20 +00:00
2019-07-16 16:02:20 +00:00
2018-10-12 05:27:58 +00:00
2018-09-19 07:05:31 +00:00
2018-09-20 09:26:10 +00:00
2018-09-19 07:06:20 +00:00
2018-09-20 09:31:27 +00:00
2018-09-22 13:17:30 +00:00
2019-05-06 20:20:21 +00:00
2019-08-08 16:54:22 +00:00
2019-04-22 18:38:54 +00:00
2019-08-08 15:30:49 +00:00