frexp
From cppreference.com
                    
                                        
                    
                    
                                                            
                    |   Defined in header <math.h>
   | 
||
|   float       frexpf( float arg, int* exp );  | 
(since C99) | |
|   double      frexp( double arg, int* exp );  | 
||
|   long double frexpl( long double arg, int* exp );  | 
(since C99) | |
Decomposes given floating point value to significand and exponent.
[edit] Parameters
| arg | - | floating point value | 
| exp | - | pointer to integer value to store the exponent to | 
[edit] Return value
Significand of the given floating point number in the range of [0.5; 1). The exponent is put into integer value pointed to by exp.
[edit] See also
|    multiplies a number by 2 raised to a power  (function)  | |
|    (C99)  | 
   extracts exponent of the number   (function)  | 
|    (C99)  | 
   extracts exponent of the number   (function)  | 
|   decomposes a number into integer and fractional parts   (function)  | |
|   C++ documentation for frexp 
 | |