The OpenD Programming Language

FP_ILOGB0

Special return values of ilogb.

import std.math.exponential;
alias FP_ILOGB0 = core.stdc.math.FP_ILOGB0

Examples

assert(ilogb(0) == FP_ILOGB0);
assert(ilogb(0.0) == FP_ILOGB0);
assert(ilogb(double.nan) == FP_ILOGBNAN);

Meta