JDK8 will support 64-bit (unsigned int)?
Alan Bateman
Alan.Bateman at oracle.com
Thu Mar 14 15:53:49 UTC 2013
On 14/03/2013 15:35, Jammy Chen wrote:
> Hello guys,
>
> I just heard that JDK8 will support 64-bit (unsigned int), is it true? if
> so, What about unsigned literals? Will the following compile on JDK 8?
> int i = 30000000000;
>
>
> Kurma
There are API additions in jdk8 to support unsigned arithmetic. Check
out the toUnsigned* and other *Unsigned methods on Byte, Short, Long and
Integer.
-Alan.
More information about the discuss
mailing list