http://d.puremagic.com/issues/show_bug.cgi?id=3165
Summary: What kind of integer division does D use?
Product: D
Version: unspecified
Platform: All
URL: http://www.digitalmars.com/d/2.0/expression.html#MulEx
pression
OS/Version: All
Status: NEW
Keywords: spec
Severity: normal
Priority: P2
Component: www.digitalmars.com
AssignedTo: [email protected]
ReportedBy: [email protected]
Specify what kind of integer division D uses. The description is ambiguous when
one or both operands of / are negative. So, in other words, what does D return
from:
3 / 2
3 / -2
-3 / 2
-3 / -2
Such information should be part of the language specification.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------