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 |
||
---|---|---|
.. | ||
acos.3 | ||
acosh.3 | ||
asin.3 | ||
asinh.3 | ||
atan2.3 | ||
atan.3 | ||
atanh.3 | ||
cacos.3 | ||
ccos.3 | ||
ccosh.3 | ||
ceil.3 | ||
cexp.3 | ||
cimag.3 | ||
clog.3 | ||
complex.3 | ||
copysign.3 | ||
cos.3 | ||
cosh.3 | ||
cpow.3 | ||
csqrt.3 | ||
erf.3 | ||
exp.3 | ||
fabs.3 | ||
fdim.3 | ||
feclearexcept.3 | ||
feenableexcept.3 | ||
fegetenv.3 | ||
fegetround.3 | ||
fenv.3 | ||
floor.3 | ||
fma.3 | ||
fmax.3 | ||
fmod.3 | ||
hypot.3 | ||
ieee_test.3 | ||
ieee.3 | ||
ilogb.3 | ||
j0.3 | ||
lgamma.3 | ||
log.3 | ||
lrint.3 | ||
lround.3 | ||
math.3 | ||
nan.3 | ||
nextafter.3 | ||
remainder.3 | ||
rint.3 | ||
round.3 | ||
scalbn.3 | ||
signbit.3 | ||
sin.3 | ||
sincos.3 | ||
sinh.3 | ||
sqrt.3 | ||
tan.3 | ||
tanh.3 | ||
trunc.3 |