Re: unsigned integers, bytes
"Daniel Bonniot" <[email protected]> Fri, 3 Aug 2007 09:23:36 +0200
| Newsgroups | gmane.comp.lang.nice.general |
|---|---|
| Message-ID | <[email protected]> |
--===============0592969395== Content-Type: multipart/alternative; boundary="----=_Part_100809_17460148.1186125816436" ------=_Part_100809_17460148.1186125816436 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, i did not find any comment on unsigned bytes/shorts/integers and i was > wondering if they were part of the nice specification. otherwise, are > there good reasons for leaving them out, because i would really miss them. The Java virtual machine only includes signed numbers, so the simplest solution was to do the same in Nice. This said, most operations are the same whether the numbers are signed or not. It would be possible to add unsigned numbers, and to overload the few operations that differ (comparison, display to string). Let me know if you are interested to work on that and need help with it. Daniel ------=_Part_100809_17460148.1186125816436 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,<br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">i did not find any comment on unsigned bytes/shorts/integers and i was<br>wondering if they were part of the nice specification. otherwise, are <br>there good reasons for leaving them out, because i would really miss them.</blockquote><div><br><br>The Java virtual machine only includes signed numbers, so the simplest solution was to do the same in Nice. This said, most operations are the same whether the numbers are signed or not. It would be possible to add unsigned numbers, and to overload the few operations that differ (comparison, display to string). Let me know if you are interested to work on that and need help with it. <br><br>Daniel<br><br></div></div> ------=_Part_100809_17460148.1186125816436-- --===============0592969395== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --===============0592969395== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nice-info mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nice-info --===============0592969395==--