Re:1/0 = 0
by jshap70 on Friday August 10, 2018 @06:14PM
(#17737092)
`3/2 = 1` is a consistent answer as long as the programmer understands modulo. The way you're phrasing it makes it sound like there are languages out there that say "`3/2 = 2` because 1.5 rounds up to 2".
just so long as you don't expect a consistent answer between python2.7 and 3.x... >.>
just so long as you don't expect a consistent answer between python2.7 and 3.x... >.>