P99

◆ P99_EPREC

#define P99_EPREC (   EXPR)    (P99_EWIDTH(EXPR) - P99_SIGNED(EXPR))

The precision, i.e the number of significant bits in the integral type of expression EXPR.

The resulting expression is evaluated at compile time and may be used in constant expressions.

Warning
this is not necessarily the width of T
See also
P99_TPREC
P99_EWIDTH
P99_EPADDING
P99_SIGN_PROMOTE for rules about integer sign promotion

Definition at line 566 of file p99_int.h.