[Issue 326] calculation bug
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 6 15:46:22 PDT 2006
http://d.puremagic.com/issues/show_bug.cgi?id=326
------- Comment #1 from jpelcis at gmail.com 2006-09-06 17:46 -------
-release isn't required. Only -O is needed for the bug.
This error also occurs in DMC with similar code.
The error will disappear if x is of any other type except uint, y is a long or
ulong, or res is a byte, ubyte, long, or ulong. Casting to those types also
gets rid of the bug.
I hope that helps.
--
More information about the Digitalmars-d-bugs
mailing list