14 lines
245 B
C
14 lines
245 B
C
#include <stdio.h>
|
|
#include <math.h>
|
|
|
|
void main()
|
|
{
|
|
int expon;
|
|
double value;
|
|
|
|
value = frexp( 4.25, &expon );
|
|
printf( "%f %d\n", value, expon );
|
|
value = frexp( -4.25, &expon );
|
|
printf( "%f %d\n", value, expon );
|
|
}
|