Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.774 Beiträge
 
#1

In Delphi, is addition commutative?

  Alt 2. Feb 2016, 00:24
Answer: no, not necessarily. Despite the existence of operator precedence, i.e. the fact that the following X := 3 + 4 * 5; results in 23 and not in 35, the order of operands can still have an effect. In my BigInteger code, I discovered an odd error, that only happened in some very rare cases, ...

More...
  Mit Zitat antworten Zitat