This commit is contained in:
Triggered_Tux 2019-01-06 14:53:54 -05:00
parent f30a915ee0
commit 12e249ae9a
1 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,11 @@
#include <stdio.h>
#include <limits.h>
#include <float.h>
float main() {
int main() {
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;
}