I did include float.h for the first time. I'm talking about C programming language if you are unfamiliar.
#include <float.h>
I've been told that there are macro constants:
FLT_MIN
FLT_MAX
and many others. I was reading Head First C and there's a program that prints those values but I'm not sure if they are max and min values that float can store or double and to which one are those related to?
In the book we are printing bytes in memory that float takes after printing those constants.
Output:
The value of FLT_MAX is: 340282346638528859811704183484516925440.000000
The value of FLT_MIN is: 0.00000000000000000000000000000000000001175494350822
Aucun commentaire:
Enregistrer un commentaire