
#include <syslib.h> |
#include <math.h> |
main() |
{ |
float x; |
int exp; |
clrscr(); // clear screen |
textmode ( 0x00 ); // 6 lines per LCD screen |
x=frexp ( 64.0,&exp ); |
printf ( "64=%.2f*2^%d",x,exp ); |
getchar(); |
return 0; |
} |



