Home > Back-end >  C language about float
C language about float

Time:11-27

Why don't understand asked, float=3.14 e38 not exceeding the maximum limit of float, why in by 100.0 f? 100.0 what is f?

CodePudding user response:

Float - 128-127

CodePudding user response:

Float is - 3.4 e to 3.4 e, there is no super, 100.0 f f says this is a double, by the later will be upgraded to double, just like your char by int will be upgraded to an int,

CodePudding user response:

Please refer to the "c + + floating-point variable storage"
Wish I could help you!
  • Related