CSARCH2-Simulation-Project

IEEE-754 Binary-32 Floating-Point Converter

Description

The IEEE-754 Binary-32 Floating-Point Converter is a web-based application designed to facilitate the conversion of floating-point numbers between binary and decimal representations according to the IEEE-754 standard. This tool supports conversion of regular numbers as well as special values like NaN (Not a Number), Infinity, and Zero.

Contents of this project

  1. Source Code
  2. Video Demonstration
  3. Documentation of Test Cases
  4. Technical Analysis Write-Up
  5. Website Actual

How to Use the Converter

  1. Input Number: Enter the number you wish to convert. You can input special values like NaN, Infinity, and Zero using specific keywords (e.g., sNaN, qNaN, Infinity, -Infinity, -0).

  2. Select Base: Choose the base of the input number from the dropdown menu (Binary for base-2 or Decimal for base-10).

  3. Enter Exponent: Provide the exponent value for the number.

  4. Convert: Click the “Convert” button to perform the conversion. The output will display the binary and hexadecimal representations of the input number.

  5. Clear: Use the “Clear” button to reset all input fields and clear the output.

  6. Download Output: Click the “Download Output” button to save the conversion results to a text file.

Features

Special Values Instructions

Example Outputs

Files in the Repository

Contributors

This project showcases a solid understanding of the IEEE-754 standard and web development principles, providing an educational and practical tool for converting floating-point numbers accurately.