DEC64. is a web application that converts IEEE-754 Decimal-64 floating-point to binary or hexadecimal equivalent (including all special cases). This is a simulation project for CSARCH2.
To use the DEC64 converter:
- Enter a decimal number in the Decimal input field. For example
4
in 4 x 105 - Enter an exponent number in the Exponent input field. For example
5
in 4 x 105 - Optionally, you can select a special case and rounding off method from the listed options. By default, it is
No special case
andTruncate
respectively. - Click
Convert
to get the binary and hexadecimal output. - You can hover the outputs to get more info, and you can optionally download the outputs as a text file.
To see more inputs or sample cases, click here.
To install and run the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/ubergonmx/dec64..git
and navigate to the project directory. - Open terminal/cmd and install dependencies:
npm install
- After the installation of npm packages, type
npm run dev
- Open the URL given in the console.
The project was built using the following:
- React: a JavaScript library for building user interfaces
- Tailwind CSS: a utility-first CSS framework
- Daisy UI: a Tailwind CSS component library
- TypeScript: a typed superset of JavaScript
- Vite: a build tool and development server
- Aaron Palpallatoc (Tech Lead)
- Gelson Sze (Frontend developer)
- Sean Umpad (QA)