Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: WaltStuart
Two plus two equals five for large values of two and small values of five. Consider the following pseudo code.

i, j, and x are float variables.
i = 2.4; j = 2.4;
x = (i + j);
print int(i) "+" int(j) "=" int(x);

The printer spits out "2 + 2 = 5"

WWG1WGA

Garde la Foi, mes amis! Nous nous sommes les sauveurs de la République! Maintenant et Toujours!
(Keep the Faith, my friends! We are the saviors of the Republic! Now and Forever!)

LonePalm, le Républicain du verre cassé (The Broken Glass Republican)

1,473 posted on 05/08/2020 10:31:00 AM PDT by LonePalm (Commander and Chef)
[ Post Reply | Private Reply | To 1464 | View Replies ]


To: LonePalm

Thanks for jiggling my memory about the 2 + 2 = 5 in some contexts etc. I forgot about the large values for 2 & small values for 5.

You sure have this stuff down cold. Thanks.


1,489 posted on 05/08/2020 10:52:15 AM PDT by WaltStuart (Lord, God, please protect President Trump, family, Q-Team et al 1,000%)
[ Post Reply | Private Reply | To 1473 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson