in reply to Re^5: Definition of numerically equal and rationale for 'you' == 'me'
in thread Definition of numerically equal and rationale for 'you' == 'me'

I get exactly the opposite results under 5.8.8 and 5.8.9, hpux, msys, and windows

The compiler that was used to build perl affects the behaviour.
On Windows, ActivePerl (built using Microsoft Compilers) apparently doesn't display the behaviour, but MinGW-built perls do.
And I think there's a fairly recent perl that throws another spanner in the works by asserting (incorrectly) that nan==nan is true.

I'm surprised that hpux and msys make a liar out of me with 5.8.9. On my linux box (an old Mandrake-9.1), behaviour is as I asserted with 5.8.9 onwards.

Cheers,
Rob
  • Comment on Re^6: Definition of numerically equal and rationale for 'you' == 'me'

Replies are listed 'Best First'.
Re^7: Definition of numerically equal and rationale for 'you' == 'me'
by MidLifeXis (Monsignor) on Mar 05, 2012 at 12:17 UTC

    (unvalidated - apply salt blocks as necessary) I wonder if this is an aton atoi feature. Version of the OS may make a difference then.

    --MidLifeXis