|
Rage wrote: (2-5/2)^2=(3-5/2)^2
2-5/2=3-5/2 Cheatmode engaged.
|
|
|
|
|
"IDDQD"
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
Makes your eyes light up.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
"IDKFA"
I can't forget those codes ever, I think
|
|
|
|
|
Well done. Funnily, as an AZERTY keyboard user, I know these as IDDAD and IDKFQ.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
Never seen an AZERTY-Keyboard
However nothing is as famous as ^^vv<><>ba
|
|
|
|
|
Here.[^]
Ah, the famous Konami code[^]. Have you ever tried it here in the Lounge ?
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
Hm. Makes sense for French speaking people. Q is used quite a lot there, I guess...
And yeah. There are quite few pages on the web where you can use it
|
|
|
|
|
Or IDSPISPOPD (later IDCLIP), to save time.
Funny how the really important things always stay in your mind.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
That's cheating!
IDFA is OK, but you have to find the keys yourself!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Hmm...(2-5/2) = -1.5, (3-5/2) = -1, therefore -1.5 != -1.0, meaning 2!=3, 79!=80 and wings stay on aeroplanes and it all falls apart, took two looks over to get it, am I right!
Dang someone post it before me! Leslie mode engaged !
|
|
|
|
|
I am glad you did not really think that 79=80.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
The day I have had, a definite possibility
|
|
|
|
|
glennPattonWork wrote: Hmm...(2-5/2) = -1.5, (3-5/2) = -1 Speaking of new math, I was always under the impression that 2-5/2 = -.5 and 3-5/2 = .5 ...
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
Maff's is all mumbo jumbo!
|
|
|
|
|
Edit: You can't expect me to do algebra this early on a Monday morning.
Wait, it's the afternoon already?
Well, at least it's not Tuesday yet.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
modified 15-Oct-13 10:00am.
|
|
|
|
|
I don't know, I studied in France.
Anyway, in this part of the world, (a-b)^2 = a^2 + b^2 - 2ab.
If a=2 and b=5/2, (a-b)^2 = 4 + 25/4 + 2*2*5/2=4 + 25/4 + 10
If a=3 and b=5/2, (a-b)^2 = 9 + 25/4 + 2*3*5/2=4 + 25/4 + 15
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
These Brits sure are bad at math today...
Rage wrote: in this part of the world, (a-b)^2 = a^2 + b^2 - 2ab. As far as I know, that is true in all parts of the world...
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
good edit !
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
Simple!
int bM = int.MaxValue, bm = int.MinValue;
Console.WriteLine("Min/Max: {0}/{1}, -Min/-Max: {2}/{3}", bm, bM, -bm, -bM);
will print
Min/Max: -2147483648/2147483647, -Min/-Max: -2147483648/-2147483647
As you can see, int.Min == -int.Min (because there is just not enough positive integer!! )
Further, as far as int arithmetic is concerned:
1080000000 x2 = -2134967296
Morale of the story?
Don't overflow!
use checked() block? as in:
int bM = int.MaxValue, bm = int.MinValue;
int bm2;
checked
{
bm2 = -bm;
}
modified 15-Oct-13 8:58am.
|
|
|
|
|
I like Mark's answer better.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
It does have to do with int.MinValue, but 1080000000 * 2 = -2134967296 (in int arithmetic), and the math is done in doubles.
|
|
|
|
|
Because int overflows at 2147483648 and -2147483648 = 2147483648. The random number must be >= 0.98841 for the loop to break which will get hit quickly. For the first one, the random number must be > 1 which won't ever happen.
|
|
|
|
|
In my doctor's waiting room there is a screen with a rolling health-based infomercial. In it there is a notice saying that people are allowed a free shingles vaccination on the NHS if they are aged 70 or 79.
Your starter for ten is: why those two ages, and why just those two ages? Why not 70 to 79? Why not 70 or 80?
I is confused.
|
|
|
|