What is the maximum number in the mantissa part of a Java float?

前端 未结 3 1197
情深已故
情深已故 2021-01-12 01:14

In Java what is the maximum number in the mantissa part that can be stored?

In this link below http://steve.hollasch.net/cgindex/coding/ieeefloat.html



        
相关标签:
3条回答
  • 2021-01-12 01:28

    What every computer scientist should know about floating point.

    0 讨论(0)
  • 2021-01-12 01:41

    Everything you want to know is on the wikipedia page for IEEE-754: http://en.wikipedia.org/wiki/IEEE_754-2008.

    0 讨论(0)
  • 2021-01-12 01:41

    The mantissa is 23 bits in a float, but the stored value is normalized, meaning that there's an implied leading 1 followed by a decimal point. This takes it to 24 effective bits.

    0 讨论(0)
提交回复
热议问题