ScratchData LogoScratchData
Back to SchoolC0404's profile

Binary Converter - Floating Point

SCSchoolC0404•Created October 9, 2023
Binary Converter - Floating Point
5
3
36 views
View on Scratch

Instructions

My previous binary converters only allowed for whole numbers. But what about fractions? They aren't whole numbers, so how would a computer represent them? Well, the answer is with floating-point binary. The floating-point binary is broken into 2 parts: The mantissa and the exponent. Honestly, it's too hard to explain, but it's similar to standard form, but with base 2 instead of base 10 It would be too complicated to code this with text input, due to floating point binary needing normalization, so instead, I have used buttons. You're welcome, mobile users. ------------------------------------------------------------------------- Updated version of this: https://scratch.mit.edu/projects/978340847/ ------------------------------------------------------------------------- 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/

Description

As with most of these converters, credits to griffpatch for the text engine.

Project Details

Project ID905155354
CreatedOctober 9, 2023
Last ModifiedMarch 10, 2024
SharedOctober 10, 2023
Visibilityvisible
CommentsAllowed