[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


logb

The function logb extracts the exponent of a double value

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <math.h>
double logb ( double x );
Parameters:

Parameters for this function are:

x  
double  
The value being computed  

Return:

The exponent of x as a signed integral value in the format of the x argument.

Remarks:

If x is subnormal it is treated as though it were normalized. A range error may occur if x is equal to zero.

See Also:

"Inlined Intrinsics Option"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000