| Main index | Section 3 | Options |
#include <sys/qmath.h>
Q_GFRAW() returns q, Ap, s raw masked fractional data bits.
Q_GFABSVAL() and Q_GFVAL() return the absolute and real values of q, Ap, s fractional data bits respectively.
Q_SFVAL() sets q, Ap, s fractional data bits to the value fv.
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_SFVAL() returns the value of q post set.
| Q_FRAWMASK (3) | July 8, 2018 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Never write it in C if you can do it in `awk'; Never do it in `awk' if `sed' can handle it; Never use `sed' when `tr' can do the job; Never invoke `tr' when `cat' is sufficient; Avoid using `cat' whenever possible. |
” |
| — Taylor's Laws of Programming | ||