what is a mantissa (im going to be told to go to hell, I mean google)? I read somewhere that computers don't actually subtract numbers, rather they add negated numbers. Does negating just mean for every 1 you make it 0 and vice versa? Likewise multiplication doesn't really exist, because its really just looping through and adding numbers x amount of times (this is all internal bs that humans never see)
Why is that so? I mean, a byte is always going to be 8 bits...right?Shifting isn't guaranteed to be equivalent to division by powers of two. Your code is only guaranteed to be portable if you use division. You're best off relying on your compiler for that particular optimization, as it may not work on other compilers.
EDIT1: I found it! good old www.dictionary.com
EDIT2: omg it just clicked, I don't know why but I didn't understand WHY in the hellThe decimal part of a logarithm. In the logarithm 2.95424, the mantissa is 0.95424
126.5 == 01111110.1, but it's just like what any base would be, whenever you move to the right whatever value that place holds is equal to the last one divided by that base
so 126.25 is 01111110.01 ?