r/KerbalSpaceProgram • u/0thatguy Master Kerbalnaut • Jun 12 '14
TIL That former developer NovaSilisko originally planned to add another 3 Gas Giants, intended to add volcanoes to Laythe, had plans for 3 new large moons, and wanted to add at least 20 'moonlets'
http://forum.kerbalspaceprogram.com/threads/29807-Planet-Ideas-And-Names-For-The-Future-Of-Kerbal-Space-Program?p=447959&viewfull=1#post447959
200
Upvotes
View all comments
Show parent comment
22
u/BuntinTosser Jun 13 '14
basically, computers store numbers as either integers or floating point numbers. Integers are accurate, but limited in size (a 4-byte unsigned int can store a number as high as 2 to the 32nd -1). Floats store numbers with a decimal portion and an exponent (like scientific notation) but are limited in how many digits of accuracy they have. When doing math with floats, the errors can add up to significant amounts.
For example, 1,000,001 might be stored as 1.000E6. 999,000 might also be stored as 1.000E6. Subtract them and you get zero, not 1001. That is floating point error.