It is possible in today’s wonderful world of computers to have 2 + 2 = 3, and be both correct and understandable.
For Instance:
We have two integer variables x and y. Our equation is x + x and the outcome is placed in y (ie. x + x = y) We will view the value of y.
We take the value 1.7 and input it into x. Since x is an integer it will (in most cases) be rounded to 2. Therefore x = 2.
It is possible, however, for y to receive the value of 1.7 + 1.7 which, in today’s accepted math, equals 3.4.
Placing 3.4 in an integer variable will set y to 3.
Therefore, you have 2 + 2 = 3.
BTW, this is why doing floating point math with integer variables on computers is a very bad idea......
Current theme: default
Less Wrong (text)
Less Wrong (link)
Arrow keys: Next/previous image
Escape or click: Hide zoomed image
Space bar: Reset image size & position
Scroll to zoom in/out
(When zoomed in, drag to pan; double-click to close)
Keys shown in yellow (e.g., ]) are accesskeys, and require a browser-specific modifier key (or keys).
]
Keys shown in grey (e.g., ?) do not require any modifier keys.
?
Esc
h
f
a
m
v
c
r
q
t
u
o
,
.
/
s
n
e
;
Enter
[
\
k
i
l
=
-
0
′
1
2
3
4
5
6
7
8
9
→
↓
←
↑
Space
x
z
`
g
It is possible in today’s wonderful world of computers to have 2 + 2 = 3, and be both correct and understandable.
For Instance:
We have two integer variables x and y. Our equation is x + x and the outcome is placed in y (ie. x + x = y) We will view the value of y.
We take the value 1.7 and input it into x. Since x is an integer it will (in most cases) be rounded to 2. Therefore x = 2.
It is possible, however, for y to receive the value of 1.7 + 1.7 which, in today’s accepted math, equals 3.4.
Placing 3.4 in an integer variable will set y to 3.
Therefore, you have 2 + 2 = 3.
BTW, this is why doing floating point math with integer variables on computers is a very bad idea......