Less Wrong is a community blog devoted to refining the art of human rationality. Please visit our About page for more information.

You are viewing a comment permalink. View the original post to see all comments and the full post content.

You are viewing a single comment's thread.

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......

Pick a username and password for your Less Wrong and Less Wrong Wiki accounts. You will receive an email to verify your account.

Create account

Already have an account and just want to login?

Login

Forgot your password?

## Comments (390)

OldIt 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......