Computer Science, asked by srinjoysen778, 16 days ago

what is the maximum value of float(5 2)​

Answers

Answered by ritika123489
0

Explanation:

And the reason the comparison succeeds with 1.5 is that 1.5 can be represented exactly as a float and as a double ; it has a bunch of zeros in its low bits, so when the promotion adds zeros the result is the same as the double representation.

Attachments:
Answered by OLilyBlinkO
0

Answer:

When I check the value of "float.MaxValue" I'm getting:3.402823E+38which is:340,282,300,000,000,000,000,000,000,000,000,000,000Then why when I'm trying to set a much smaller value into a float variable:float myValue = 1234567890123456789024;then I get an error message:"Integral constant is too large" ?This value is MUCH smaller then "3.402823E+38", so why am I getting an error for it?

Explanation:

Hope this helps and pls mark me as brainlist purple you thanks 。◕‿◕。

Similar questions