Total members 10261 | Gratitudes |It is currently Wed May 23, 2012 8:20 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 2 posts ] 
Author Question
 Question subject: handle integer overflows and underflows
PostPosted: Thu Nov 06, 2008 4:11 pm 
Offline
Proficient
User avatar

Joined: Sun Oct 19, 2008 3:47 pm
Posts: 281
Has thanked: 0 time
Have thanks: 1 time

How does Java handle integer overflows and underflows?


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: handle integer overflows and underflows
PostPosted: Thu Nov 06, 2008 4:14 pm 
Offline
Proficient
User avatar

Joined: Sun Oct 19, 2008 3:53 pm
Posts: 229
Has thanked: 0 time
Have thanks: 0 time
It uses those low order bytes of the result that can fit into the size of the type allowed by the operation.


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 2 posts ] 
Quick reply


  

 Similar topics
 Invalid integer formats
 convert integer number to octal,hexadecimal number systems
 Handle IsPostBack Condition
 Ensuring integer are written as 32 bits
 How can a GUI component handle its own events
 rounding performed under integer division
 Dividing two Integer values
 Integer value compare with equal sign
 finding the largest integer
 integer value overflow

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 8 guests



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team