What does "3.4E +/- 38 (7 digits)" mean?

I am trying to understand a range of data types. For non-floating-point numbers, this is simple enough, but then for float and double ranges are listed as:

float: 3.4E +/- 38 (7 digits)

double: 1.7E +/- 308 (15 digits)

But the layman, what exactly does this mean, and how can I use this information?

+5
source share
2 answers

3.4E +/- 38

means that:

  • the largest positive value that a can be represented floatis about 3.4e38;
  • the smallest positive value is around 3.4e-38.

Similarly, the range of negative values ​​is from -3.4e38 to about -3.4e-38.

Here MeEstands Mfor 10 times the E'th power.

(7 digits)

, a float .

, , , .

+6

float: 3.4E-38 3.4E38 ( ), 7 .

double: 1.7E-308 1.7E308 ( ), 15 .

0.

mEe m 10 e.

+1

All Articles