Infinity

Started by γRB, July 09, 2013, 08:31:00 PM

Previous topic - Next topic

γRB

Why does 'infinity' freeze you when you play around with coordinates? i mean, I played with coordinates, OBVIOUSLY infinity would freeze you, but generally..Why?

γRB

Also isn't 'Infinity' a concept? How is it possible?

XeR

Quote from: γRB on July 09, 2013, 08:31:00 PM
Why does 'infinity' freeze you when you play around with coordinates? i mean, I played with coordinates, OBVIOUSLY infinity would freeze you, but generally..Why?
I don't get why you ask this question, if you already understand why it freezes.

Quote from: γRB on July 09, 2013, 09:20:00 PM
Also isn't 'Infinity' a concept? How is it possible?
https://en.wikipedia.org/wiki/IEEE_754#Exception_handling

γRB

Oh I totally didn't see the exception handling in that page, even though I've scrolled down it for several minutes. xD

dcx2

Infinity is a special bit pattern (it can actually be signed, too).  It is one of a few NaN's (Not a Number).  Once a float becomes NaN, the result of any computation using that float will also be NaN.  NaN + ? = NaN, NaN / ? = NaN, etc.

Because the NaN is "infectious", once one is generated all calculations are basically garbage.  How do you do NaN damage to someone's health?  This is why using a NaN in a calculation will often trigger floating point exceptions.

Bully@Wiiplaza

Gecko.Net says 7F800000 is infinity.
Is it truely the highest value you may choose for floats?
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

dcx2

Infinity is Not a Number.  So it's not "the highest value you may choose for floats".  If you choose this value, you will probably break whatever calculation you were trying to do.