Matthew Astley ([EMAIL PROTECTED]) wrote:
> On Mon, Mar 05, 2001 at 03:38:45PM +0000, Adam Spiers wrote:
> >   print equal('1e1', '10') ? 'equal' : 'not equal', "\n";
> >   print equal( 1e1  , 10 ) ? 'equal' : 'not equal', "\n";
> > 
> > does the right thing.
> 
> What about rounding errors? Or when 'use integer' is in effect? (Not
> that I've thought about these or tried them).

The rounding would happen before stringification, so I'd expect it
still to work.

Rest assured however that despite lack of examples of breakage, I
agree that it's better do TRT :-) And this is easy now that we have
(or will soon have) Piers' new assertion stuff.

_______________________________________________
Perlunit-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/perlunit-devel

Reply via email to