Skip to main content

Timeline for Absolute Values and Fractions

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Jul 7, 2017 at 12:47 history edited user555045 CC BY-SA 3.0
deleted 857 characters in body
Jul 7, 2017 at 8:05 comment added Peter Taylor Integer division is pretty pointless. If x or y is zero then the denominator is 1 and you get abs(x) - abs(y); otherwise 1 + abs(x*y) >= 1 + max(abs(x), abs(y)) > max(abs(x), abs(y)) > abs(abs(x) - abs(y)) so since division rounds towards zero the result will always be zero (assuming you've successfully eliminated overflow).
Jul 6, 2017 at 23:34 history edited user555045 CC BY-SA 3.0
deleted 5 characters in body
Jul 6, 2017 at 23:29 history answered user555045 CC BY-SA 3.0