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
CheckForSigned is misnamed
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Elliotte Harold  
View profile  
 More options Aug 16 2008, 1:32 pm
From: Elliotte Harold <elh...@metalab.unc.edu>
Date: Sat, 16 Aug 2008 10:32:40 -0700
Local: Sat, Aug 16 2008 1:32 pm
Subject: CheckForSigned is misnamed
The @CheckForSigned annotation is misnamed. According to the comments, it is

Used to annotate a value that may be negative; uses of it should check
for negative values before using it in a way that requires the value to
be nonnegative

Clearly the name shoudl be @CheckForNegative, not @CheckForSigned.
Alternately, if it really is a sign check, then the comment needs to be
improved.

--
Elliotte Rusty Harold  elh...@metalab.unc.edu
Refactoring HTML Just Published!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA


 
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.
Bill Pugh  
View profile  
 More options Aug 25 2008, 12:56 am
From: Bill Pugh <p...@cs.umd.edu>
Date: Sun, 24 Aug 2008 21:56:46 -0700
Local: Mon, Aug 25 2008 12:56 am
Subject: Re: CheckForSigned is misnamed
The way the type qualifiers and when attributes work, it really means  
that the element labeled will contain both elements in the set  
Nonnegative and elements in the complement of Nonnegative.

So the annotation name is correct, I'll fix the documentation.

        Bill

On Aug 16, 2008, at 10:32 AM, Elliotte Harold wrote:


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »