|
NAMEQ_SIGNED , Q_LTZ ,
Q_PRECEQ , Q_QLTQ ,
Q_QLEQ , Q_QGTQ ,
Q_QGEQ , Q_QEQ ,
Q_QNEQ , Q_OFLOW ,
Q_RELPREC —
fixed-point math comparison and logic functions
SYNOPSIS#include <sys/qmath.h>
bool
bool
bool
bool
bool
bool
bool
bool
bool
bool
int
DESCRIPTIONQ_SIGNED () returns true if the
numeric data type passed in as n is signed, or
false otherwise.
The
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. NTYPE is used to refer to any numeric type and is therefore a superset of QTYPE and ITYPE. For more details, see qmath(3). RETURN VALUESTheQ_SIGNED (), Q_LTZ (),
Q_PRECEQ (), Q_QLTQ (),
Q_QLEQ (), Q_QGTQ (),
Q_QGEQ (), Q_QEQ (),
Q_QNEQ () and Q_OFLOW ()
functions return expressions that evaluate to boolean
true or false.
SEE ALSOerrno(2), qmath(3), stdint(7)HISTORYThe qmath(3) functions first appeared in FreeBSD 13.0.AUTHORSThe qmath(3) functions and this manual page were written by Lawrence Stewart <lstewart@FreeBSD.org> and sponsored by Netflix, Inc.
Visit the GSP FreeBSD Man Page Interface. |