| Main index | Section 3 | Options |
#include <sys/qmath.h>
The Q_QFRACI() function computes the fraction n divided by d and stores the fixed-point result in q.
The Q_QCPYVALI() function overwrites q, Ap, s integer and fractional bits with the Q representation of integer value i.
All of those functions operate on the following data types: s8q_t, u8q_t, s16q_t, u16q_t, s32q_t, u32q_t, s64q_t, and u64q_t, which are referred to generically as QTYPE. The ITYPE refers to the stdint(7) integer types.
For more details, see qmath(3).
| Q_QADDI (3) | July 8, 2018 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | A typical Unix /bin or /usr/bin directory contains a hundred different kinds of programs, written by dozens of egotistical programmers, each with its own syntax, operating paradigm, rules of use ... strategies for specifying options, and different sets of constraints. | ” |
| — The Unix Haters' handbook | ||