Re: Rob's going to hate me... (Remainder bug)

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Don't lol too hard.
> Your first one wasn't a bug, and neither is this one.

As far as I am concerned, the first one WAS a bug. If someone wants to
include the same file twice within their program, and have them act as 
two completely seperate copies of the same file, they should be able to 
- and the only concieveable way I can see of refering to them seperately 
is by usage of the namespace function. I re-wrote my include file so it 
handled being initated twice differently, but the point is, I should 
have been able to do it that way.

And this one IS a bug, just not a bug with euphoria :P

> This remainder issue came up on the mailing list
> a few years ago. It's basically an incarnation of the old
> "0.1 (0.01 etc.) can't be represented exactly on
> Intel hardware" problem. Once or twice every year
> someone on this list is shocked to find that
> floating-point calculations aren't perfectly exact,
> and the error can sometimes be magnified into an
> obviously incorrect answer...
> 
>
> http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth=2&fromYear=5&toMonth=2&toYear=5&postedBy=rds&keywords=remainder
>

My bad - I should have checked first.
Pitty being on an AMD doesn't insulate you from that problem :(

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu