|
From: | anonymous |
Subject: | [Bug-kawa] [bug #38081] Integer truncation |
Date: | Wed, 04 Sep 2013 22:25:53 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36 |
Follow-up Comment #1, bug #38081 (project kawa): For what it's worth, Java does this as well. public static void main(String[] args) { byte b = (byte) 128; System.out.println(b); } -verbatim+ prints -128 I suspect a range check when using set! would result in an appreciable performance hit. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?38081> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |