| Main index | Section 3 | Options |
#include <sys/qmath.h>
Q_IFVALIMASK() and Q_IFVALFMASK() return q, Ns, -specific bit masks for the integer and fractional bits of q, Ap, s combined integer and fractional data bits value, i.e., are applicable to the values returned by Q_GIFABSVAL() and Q_GIFVAL().
Q_GIFRAW() returns q, Ap, s raw masked integer/fractional data bits.
Q_GIFABSVAL() and Q_GIFVAL() return the absolute and real values of q, Ap, s integer/fractional data bits respectively.
Q_SIFVAL() sets q, Ap, s combined integer/fractional data bits to the value ifv, whereas Q_SIFVALS() independently sets q, Ap, s integer and fractional data bits to the separate values iv and 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_SIFVAL() and Q_SIFVALS() return the value of q post change.
| Q_IFRAWMASK (3) | July 8, 2018 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | "I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act." | ” |
| — Ken Pier, Xerox PARC | ||