Re: Calculate the precision of a floating point number (ie: the number of decimal places)
- From: Mike <m.fee@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Oct 2007 16:30:47 +1300
In article <4727ee83$0$20603$4c368faf@xxxxxxxxxxxxxx>, lshaw-usenet@xxxxxxxxxxxxx says...
Ed Prochak wrote:Seems that it is simple to calculate the NOSD for a number input as a string, but unrealistic for a float. Floats of a
On Oct 30, 10:21 am, Lori <steve.lori...@xxxxxxxxx> wrote:
Hi allIOW number of significant digits?
I'm trying to write a reliable and efficient library function that
will calculate the precision of an input number (floating point).
First, can you tell me how many significant digits exist in these
numbers
0.01e-21
0.00
0.000000
How are the last two going to look any different from each other in
floating point?
- Logan
particular size are usually stored/represented internally with approximately the same number of significant digits.
Mike
.
- References:
- Calculate the precision of a floating point number (ie: the number of decimal places)
- From: Lori
- Re: Calculate the precision of a floating point number (ie: the number of decimal places)
- From: Ed Prochak
- Re: Calculate the precision of a floating point number (ie: the number of decimal places)
- From: Logan Shaw
- Calculate the precision of a floating point number (ie: the number of decimal places)
- Prev by Date: Re: Why localize structures in this case.
- Next by Date: Re: Red Black Guaruntees
- Previous by thread: Re: Calculate the precision of a floating point number (ie: the number of decimal places)
- Next by thread: Re: Calculate the precision of a floating point number (ie: the number of decimal places)
- Index(es):
Relevant Pages
|