The OpenD Programming Language

FP_ILOGBNAN

Special return values of ilogb.

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

Examples

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

Meta