I noticed some changes in the edition of section 5.6 for C ++ 11. (I look at the draft C ++ N3242 standard from 2011-02-28.) The new (draft) standard includes a sentence:
"For integral operands, the operator / gives an algebraic relation with any fractional part dropped:"
This statement is not specified in 5.6 of standard 03 (ISO-IEC-14882-2003), but I do not think this is a change, right? This is how C and C ++ have worked for years, if I havenβt lost my mind (which could happen anyway).
source share