Andy Armstrong andy at
Mon Feb 25 17:42:41 GMT 2008

On 25 Feb 2008, at 16:51, Dan Rowles wrote:
> So my question to you is, should I report this as a bug somewhere,  
> or should I just ignore it as "floating point weirdness"?

The latter. It's not even weirdness to be honest - just an artefact of  
how FP works.

You should also equip your tests with

sub is_approx { ... }

Comparing FP numbers for equality is almost always a mistake.

Andy Armstrong, Hexten

More information about the mailing list