From: SourceForge.net <no...@so...> - 2007-03-10 17:12:42
|
Bugs item #1677960, was opened at 2007-03-10 09:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=520074&aid=1677960&group_id=68108 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: int math bug Initial Comment: multiplying two shorts assigned to a long results in an incorrect result. in the example below c = -32768 instead of 32768 void main (void) { short a,b; long c; a = 128; b = 256; c = a * b; } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=520074&aid=1677960&group_id=68108 |