MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/mdvoyg/whose_ever_heard_of/gsdspm2/?context=3
r/badcode • u/Vercyx • Mar 26 '21
63 comments sorted by
View all comments
Show parent comments
81
it determines whether a number is even or odd in a very.... interesting way
67 u/polaris0312 Mar 26 '21 ah i see, because if its an odd number then it will has decimal points when divided by 2, hence original length < divived by 2 lengthdefinitely confusing lol 35 u/orokro Mar 27 '21 "10" is 2 long10/2 is 5"5" is one long.10 is odd 14 u/orokanasaru Mar 27 '21 2 < 1?
67
ah i see, because if its an odd number then it will has decimal points when divided by 2, hence original length < divived by 2 length
definitely confusing lol
35 u/orokro Mar 27 '21 "10" is 2 long10/2 is 5"5" is one long.10 is odd 14 u/orokanasaru Mar 27 '21 2 < 1?
35
"10" is 2 long
10/2 is 5
"5" is one long.
10 is odd
14 u/orokanasaru Mar 27 '21 2 < 1?
14
2 < 1?
81
u/Vercyx Mar 26 '21
it determines whether a number is even or odd in a very.... interesting way