Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/05/04 14:54
Read: times


 
#75480 - RE: Bug in Keil C51 V5.02 ?
Responding to: ???'s previous message
"Please can anybody check, if this bug was removed on later versions"

This is not a bug. In 'C', if either of the integral operands of the / operator are negative the implementation can choose to return either of the two closest values. So in this case, the result can be either 0 or -1.

List of 3 messages in thread
TopicAuthorDate
Bug in Keil C51 V5.02 ?            01/01/70 00:00      
   RE: Bug in Keil C51 V5.02 ?            01/01/70 00:00      
   RE: Bug in Keil C51 V5.02 ?            01/01/70 00:00      

Back to Subject List