[ANSI-Smalltalk] Agenda items...

Paolo Bonzini paolo.bonzini at lu.unisi.ch
Tue Nov 13 09:08:31 GMT 2007


Andres Valloud wrote:
> I replied from my home account and thus I think the message went to the 
> bit bucket... but I meant to say this is fantastic.  I added an item to 
> the meta, and also created the errata page mentioning two off by one 
> problems in the float protocol.

Could you be more specific?  I only knew of the one in #epsilon.

st> 2.0d timesTwoPower: 1 - FloatD precision  "ANSI definition"
0.0000000000000004440892098500627
st> FloatD epsilon    "dividing by two..."
0.0000000000000002220446049250313
st> (1.0d + FloatD epsilon) = 1.0d    "...is still ok"
false

Paolo



More information about the ANSI-Smalltalk mailing list