News for hackers. Stuff that matters.
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... >.>

Re:1/0 = 0 by Zarel on Friday August 10, 2018 @11:21PM (#17738102)
The phrasing is relatively clear to me as saying that some languages say 3/2 = 1.5 (e.g. JavaScript) and some languages say 3/2 = 1 (e.g. C).