Re: significant digits



In article
<7291483c-85ad-459d-8112-99634a048ecf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Mensanator <mensanator@xxxxxxx> wrote:

I got into a long argument this afternoon with a couple people who are
supposed to know this.

I said they were wrong, but on the slight chance that I'm wrong, I
thought I would solicit some opinions.

The number 0.0137 has how many significant digits? I say 3, the others
say 4.

I don't count ANY leading zeroes with no regard to the decimal point,
they count every digit after the decimal point.

I say that

1.37
0.137
0.0137
0.00137
0.000137

all have 3 significant digits.

I'm correct about this, aren't I?

Yes. Consider rewriting all numbers in scientific notation, a mantissa
followed by a power of 10, so that the first digit the mantissa of all
non-zero numbers is non-zero.

Then all digits of a non-zero mantissa are considered to be significant.

http://en.wikipedia.org/wiki/Significand
.



Relevant Pages

  • Re: Reading specific memory address into variable
    ... I need to compare two numeric variables to ... If you could get to the mantissa and exponent of the number you're ... except it will be in binary significant digits (which can be ... converted to decimal significant digits by division by log10. ...
    (comp.lang.cpp)
  • Re: Interesting math
    ... "C Float Number" must have "exactly six digits after the ... The "six or more significant digits" requirement has little ... data type called "float" that can represent floating-point ... articles, or your posts? ...
    (alt.usage.english)
  • Re: 5-byte numbers
    ... to all newer OS/2 ones, ... I don't know for 100% sure what the mantissa is. ... also introduces an additional rounding problem. ... assuming 15 digits are readable with an "E" in there. ...
    (comp.os.os2.programmer.misc)
  • Re: BigNum -- Floating Point
    ... > mantissa and exponent. ... In that the current implementation already uses 32-bit "digits", ... (in one design I'm considering) ...
    (comp.programming)
  • Re: loan amortization
    ... you have about 14 significant digits. ... your are working on a $100,000.00 mortgage. ... An insurance company insider told me that they once spotted a penny difference ...
    (comp.lang.java.programmer)