aaaaaa
This commit is contained in:
parent
f30a915ee0
commit
12e249ae9a
|
@ -1,8 +1,11 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <limits.h>
|
#include <float.h>
|
||||||
|
|
||||||
float main() {
|
int main() {
|
||||||
printf("Storage size for float : %d \n", sizeof(float));
|
printf("Storage size for float : %d \n", sizeof(float));
|
||||||
|
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 );
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue