P99

◆ P99_UE_MAX1

#define P99_UE_MAX1 (   EXPR)    (P99_UE_MAX(EXPR)/P99_PROMOTE_2U(EXPR))

Half of the maximum representable value of the unsigned type promoted with respect to expression EXPR.

This is the maximum representable value of the signed type promoted with respect to EXPR

The returned expression is of unsigned integer type.

See also
P99_TMAX
P99_SIGN_PROMOTE for rules about integer sign promotion

Definition at line 509 of file p99_int.h.