2019-01-06 19:49:08 +00:00
|
|
|
#include <stdio.h>
|
2019-01-06 19:53:54 +00:00
|
|
|
#include <float.h>
|
2019-01-06 19:49:08 +00:00
|
|
|
|
2019-01-06 19:53:54 +00:00
|
|
|
int main() {
|
2019-01-06 19:51:57 +00:00
|
|
|
printf("Storage size for float : %d \n", sizeof(float));
|
2019-01-06 19:53:54 +00:00
|
|
|
printf("Minimum float positive value: %E\n", FLT_MIN );
|
|
|
|
printf("Maximum float positive value: %E\n", FLT_MAX );
|
|
|
|
printf("Precision value: %d\n", FLT_DIG );
|
2019-01-06 19:49:08 +00:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|