Yesterday I mentioned that Haskell CSS Syntax uses a seperate module to parse any floating point numbers.
Decoding numbers involves converting to the computer's native base from our of base 10. For integers this is a simple multiply and add, as was implemented by Haskell CSS Syntax.
But for floating point we still have the same issue. "Scientific Notation" is coefficient*10^exponent, whereas computers use coefficient*2^exponent. So how does this work?
CORRECTION: It is ofcourse division, not remainder, for negative exponents. I got confused by somewhat more correct mathematical notation as opposed to other programming languages.
For people who care about, support, or build Free, Libre, and Open Source Software (FLOSS).