PerlNum may not be handling -0.0 correctly.

This
  new P0, .PerlNum
  set P0, 0.0
  print P0
  print "\n"
  set P0, -0.0
  print P0
  print "\n"
  end
prints this
  0
  0
rather than say this
  0
  -0

For reference,
  perl -e 'print -0.0,"\n"'
prints
  -0

Thanks to ruby's test suite for the catch.

Mitchell

Reply via email to