From 12e249ae9a0f7857726195c7980576300bbf6bcd Mon Sep 17 00:00:00 2001 From: Triggered_Tux Date: Sun, 6 Jan 2019 14:53:54 -0500 Subject: [PATCH] aaaaaa --- floatsize.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/floatsize.c b/floatsize.c index afa0efe..caca0ac 100644 --- a/floatsize.c +++ b/floatsize.c @@ -1,8 +1,11 @@ #include -#include +#include -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; } \ No newline at end of file