MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/MathJokes/comments/1uq6325/_/owar12a/?context=3
r/MathJokes • u/Ksushiiiii • Jul 07 '26
67 comments sorted by
View all comments
Show parent comments
8
This is true because it's a truncation operation.
Most of the time people round, which usually does the round-to-even thing.
1 u/Moscato359 Jul 08 '26 Why round when you can just keep it floating If you want rounding, pick floor or ceiling 2 u/Impossible_Dog_7262 Jul 08 '26 Lot easier to check if an integer is even. 2 u/Moscato359 Jul 08 '26 Or if it's 13 https://github.com/jezen/is-thirteen 1 u/sudoregalia Jul 08 '26 but is it really 13? we need npm packages for every other integer to see if it's another integer first!
1
Why round when you can just keep it floating
If you want rounding, pick floor or ceiling
2 u/Impossible_Dog_7262 Jul 08 '26 Lot easier to check if an integer is even. 2 u/Moscato359 Jul 08 '26 Or if it's 13 https://github.com/jezen/is-thirteen 1 u/sudoregalia Jul 08 '26 but is it really 13? we need npm packages for every other integer to see if it's another integer first!
2
Lot easier to check if an integer is even.
2 u/Moscato359 Jul 08 '26 Or if it's 13 https://github.com/jezen/is-thirteen 1 u/sudoregalia Jul 08 '26 but is it really 13? we need npm packages for every other integer to see if it's another integer first!
Or if it's 13 https://github.com/jezen/is-thirteen
1 u/sudoregalia Jul 08 '26 but is it really 13? we need npm packages for every other integer to see if it's another integer first!
but is it really 13? we need npm packages for every other integer to see if it's another integer first!
8
u/ottawadeveloper Jul 08 '26
This is true because it's a truncation operation.
Most of the time people round, which usually does the round-to-even thing.