Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Floating Point Approximations.

Re: Floating Point Approximations.

From: Matthias Klaey <mpky_at_hotmail.com>
Date: Thu, 29 Mar 2007 01:32:10 +0200
Message-ID: <0iul039ee7icrtp8lq6jedme1bptldvsmh@4ax.com>


paul c <toledobythesea_at_oohay.ac> wrote:

>Bob Badour wrote:
>> David Cressey wrote:
>>
>>> Here's another example of floating point errors, that's even simpler
>>> than
>>> the 21200 plus 2.5% example.

[...]  

>> I translated the above into C, corrected it and expanded on it. The
>> naive method below ignores rounding. The aware method is aware of both
>> the limitation in the representations and in the range of interest
>> (chosen as 5 decimal places based on the useful precision of the float
>> type.)
>>
>> This is such a trivial example that it should make all programmers who
>> don't know what they are doing shudder.

[...]

>
>IBM would be doing a public service to put Cowlishaw's decimal code in
>the public domain. Don't understand why they don't.
>

Is it this http://en.wikipedia.org/wiki/Mike_Cowlishaw that you are referring to? His work seems to be pretty much available to the public.

Greetings
Matthias Kläy

-- 
www.kcc.ch
  
Received on Wed Mar 28 2007 - 18:32:10 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US