Re: Signed and Unsigned integers in Tcl
- From: "suchenwi" <richard.suchenwirth-bauersachs@xxxxxxxxxxx>
- Date: 5 Oct 2006 04:04:47 -0700
Andreas Leitgeb schrieb:
Anyway I wonder in what way a leading "+" would have been
inferior to the trailing "u".
"+" means "positive", or "one or more" in regexps. Signed numbers can
also be positive :)
As "u" also means "unsigned" in [format] (though stand-alone, not as a
modifier), I think using "u2 is following the principle of least
surprise.
.
- References:
- Re: Signed and Unsigned integers in Tcl
- From: Donal K. Fellows
- Re: Signed and Unsigned integers in Tcl
- From: Andreas Leitgeb
- Re: Signed and Unsigned integers in Tcl
- From: Donal K. Fellows
- Re: Signed and Unsigned integers in Tcl
- From: Andreas Leitgeb
- Re: Signed and Unsigned integers in Tcl
- Prev by Date: Re: Signed and Unsigned integers in Tcl
- Next by Date: JSON not dependet on dict
- Previous by thread: Re: Signed and Unsigned integers in Tcl
- Next by thread: Re: Signed and Unsigned integers in Tcl
- Index(es):
Relevant Pages
|