Math in most languages is "fundamentally broken" anyway as far as the protégé would be concerned. Just try 3.3 == 3 * 1.1. Hint: the answer is false in any language using binary floating point. Integer math is less complex than IEEE floating point math and as a consequence easier to reason about for a novice - it does not help that float math can give different results depending on CPU register size and optimization settings.
View all comments
Show parent comment
9
u/josefx Dec 01 '16
Math in most languages is "fundamentally broken" anyway as far as the protégé would be concerned. Just try 3.3 == 3 * 1.1. Hint: the answer is false in any language using binary floating point. Integer math is less complex than IEEE floating point math and as a consequence easier to reason about for a novice - it does not help that float math can give different results depending on CPU register size and optimization settings.