A while ago, I made a floating point binary project, which allowed you to convert floating point binary numbers to decimal. But what about the other way around - Converting Decimal to floating point? Well, that's where things get a little more complicated. Luckily, I was able to work out how to create a new converter, which allows for this. I know that some people are going to complain that the number isn't the same as the number they inputted, and this is something I know about. However, it is unfixable, due to the size of the binary, and this is fine. Computers are never able to store decimals perfectly because of how binary works, so instead, they round them, as seen in this! ------------------------------------------------------------------------- Original Floating Point Converter: https://scratch.mit.edu/projects/905155354/ ------------------------------------------------------------------------- My other Binary Calculators: -Binary Converter Pro (Includes negative numbers and hexadecimal): https://scratch.mit.edu/projects/845341076/ -Binary Adder: https://scratch.mit.edu/projects/844208908/
As with most of these converters, credits to griffpatch for the text engine. 21/3/24: Temporarily took project down, for bug fixes. Should have them all fixed now. 22/3/24: Fixed error in code that made normalisation of numbers wrong. Results aren't entirely accurate through normalisation yet, but it works well enough.