unsigned integers, bytes

View: New views
2 Messages — Rating Filter:   Alert me  

unsigned integers, bytes

by Stéphane Onder de Linden :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello there.

i'm sorry, but i didn't understand how to ask this question in the forum.

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.

thanks



-------------------------------------------------------------------------
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/
_______________________________________________
Nice-info mailing list
Nice-info@...
https://lists.sourceforge.net/lists/listinfo/nice-info

Re: unsigned integers, bytes

by Daniel Bonniot-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


-------------------------------------------------------------------------
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/
_______________________________________________
Nice-info mailing list
Nice-info@...
https://lists.sourceforge.net/lists/listinfo/nice-info
LightInTheBox - Buy quality products at wholesale price