Export (0) Print
Expand All

_logb

Extracts exponential value of double-precision floating-point argument.

double _logb(
   double x 
);

Parameter

x
Double-precision floating-point value.

Return Value

_logb returns the unbiased exponential value of x.

Remarks

The _logb function extracts the exponential value of its double-precision floating-point argument x, as though x were represented with infinite range. If the argument x is denormalized, it is treated as if it were normalized.

Input SEH Exception Matherr Exception
± QNAN,IND None _DOMAIN
± 0 ZERODIVIDE _SING

Requirements

Routine Required header Compatibility
_logb <float.h> Win 98, Win Me, Win NT, Win 2000, Win XP

For additional compatibility information, see Compatibility in the Introduction.

Libraries

All versions of the C run-time libraries.

See Also

Floating-Point Support Routines | frexp | Run-Time Routines and .NET Framework Equivalents

Show:
© 2014 Microsoft