Re: Possreps and numeric types

From: Bob Badour <bbadour_at_pei.sympatico.ca>
Date: Thu, 29 Mar 2007 06:57:56 GMT
Message-ID: <UrJOh.16810$PV3.173483_at_ursa-nb00s0.nbnet.nb.ca>


Gene Wirchenko wrote:

> Bob Badour <bbadour_at_pei.sympatico.ca> wrote:
> 

>>Gene Wirchenko wrote:
>>
>>>Bob Badour <bbadour_at_pei.sympatico.ca> wrote:
>>>
>>>[snip]
>>>
>>>>I admit I used epsilon somewhat sloppily and not necessarily with the
>>>>exact meaning used when discussing a particular floating-point
>>>>implementation. I used it to mean the distance to the representable
>>>>predecessor or successor of any representable rational value.
>>>
>>> That is incorrect. It is per
>>> http://en.wikipedia.org/wiki/Machine_epsilon
>>>In a floating-point system, epsilon is the smallest number such that
>>> 1 + epsilon > 1
>>>
>>>[snip]
>>
>>When you say the above is incorrect, are you saying I was not using
>>epsilon sloppily? Or are you saying I didn't use it to mean the distance
>>to the representable predecessor or successor of any representable
>>rational value?
>
> The definition of epsilon.

Other than the "scaled by the exponent" bit, what exactly is the difference? ie. If I subtracted one from the other, what answer would I get? Received on Thu Mar 29 2007 - 08:57:56 CEST

Original text of this message