D
Dave Neve
Hi
I have a theoretical question on this subject but I'm naff at maths so don't
laugh.
From a book, I can see that the lower and upper limits of a single data type
is
-3.402823E38 to - 1.401298E-45 for negative values
1.401298E-45 to 3.402823E38 for positive values
I don't even know how to do calculations with exponents on my computer to
check for myself but what I'd like to know is
a How do - exponents work
eg 10 to the power of 2 = 100
10 to the power of -2 = ?
b Do the limits of a single or double data type leave a 'gap' in between?
ie A short data type (-32,768 to 32767) can clearly handle any figure in
between but this isn't so clear for me with regards to floating point data
types where there seems to be a gap.
Why not -0.000000 and 0.000000 or sth similar?
Thanks and remember what Einstein4S Maths teacher said about him when he was
16 (ok I ain't 16 anymore but...)
Dave Neve
I have a theoretical question on this subject but I'm naff at maths so don't
laugh.
From a book, I can see that the lower and upper limits of a single data type
is
-3.402823E38 to - 1.401298E-45 for negative values
1.401298E-45 to 3.402823E38 for positive values
I don't even know how to do calculations with exponents on my computer to
check for myself but what I'd like to know is
a How do - exponents work
eg 10 to the power of 2 = 100
10 to the power of -2 = ?
b Do the limits of a single or double data type leave a 'gap' in between?
ie A short data type (-32,768 to 32767) can clearly handle any figure in
between but this isn't so clear for me with regards to floating point data
types where there seems to be a gap.
Why not -0.000000 and 0.000000 or sth similar?
Thanks and remember what Einstein4S Maths teacher said about him when he was
16 (ok I ain't 16 anymore but...)
Dave Neve