frexp() - Returns number into mantissa range value in C


  #include <math.h>
  #include <stdio.h>

  int main(void)
  {
     int e;
     double f;

     f = frexp(10.0, &e);
     printf("%f %d", f, e);
 
  }


Output:
0.625000 4