Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion PerlNum -0.0 bug?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mitchell N Charity  
View profile  
 More options Mar 15 2004, 11:48 am
Newsgroups: perl.perl6.internals
From: mchar...@vendian.org (Mitchell N Charity)
Date: Mon, 15 Mar 2004 11:48:05 -0500
Local: Mon, Mar 15 2004 11:48 am
Subject: PerlNum -0.0 bug?
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.