š¢ IEEE 754 Converter
Real-time Floating Point Binary Analysis
A beautiful, cross-platform desktop and mobile application for converting decimal numbers to IEEE 754 floating-point binary representation.
Features ⢠Screenshots ⢠Installation ⢠Tech Stack ⢠Usage
šÆ Overview
The IEEE 754 Converter is a powerful yet elegant tool that instantly converts decimal numbers into their IEEE 754 floating-point binary representation. Built with modern technologies, it provides real-time conversion with a beautiful, responsive interface that works seamlessly on both desktop and mobile platforms.
⨠Features
šØ Beautiful & Intuitive UI
- Modern, clean design with smooth animations
- Color-coded binary sections (Sign, Exponent, Mantissa)
- Real-time conversion as you type
- Dark-themed output display for better readability
š Dual Precision Support
- 32-bit (Single Precision): Standard float representation
- 64-bit (Double Precision): Extended float representation
- Easy toggle switch to change between formats
š Comprehensive Output
- Binary Visualization: Color-coded breakdown of:
- Sign bit (1 bit)
- Exponent bits (8 bits for single, 11 bits for double)
- Mantissa/Fraction bits (23 bits for single, 52 bits for double)
- Hexadecimal Representation: Complete hex value
- Full Binary String: Complete 32 or 64-bit binary representation
- Powered by Rust for blazing-fast conversion
- Native performance through Tauri framework
- Instant real-time updates with no lag
- Desktop: Windows, macOS, Linux
- Mobile: Android (with full native support)
- Fully responsive design that adapts to any screen size
- Perfect for computer science students learning about floating-point representation
- Visual breakdown helps understand IEEE 754 standard
- Immediate feedback for experimentation
šø Screenshots
Desktop Application
Single Precision (32-bit) conversion with color-coded binary breakdown
Double Precision (64-bit) conversion with extended bit representation
Mobile Application
Fully responsive mobile interface for on-the-go conversions
Mobile Application
Fully responsive mobile interface for on-the-go conversions
š ļø Tech Stack
This project leverages cutting-edge technologies for optimal performance and developer experience:
| Technology |
Purpose |
| Rust |
Backend logic and IEEE 754 conversion engine |
| Tauri |
Cross-platform desktop framework |
| SvelteKit |
Frontend framework with reactive UI |
| Vite |
Build tool and development server |
| TypeScript |
Type-safe JavaScript |
Why This Stack?
- Rust + Tauri: Near-native performance with small binary sizes
- SvelteKit: Minimal overhead with reactive updates
- Cross-Platform: Write once, deploy everywhere (Desktop + Android)
š„ Installation
Prerequisites
Development Setup
Clone the repository
git clone https://github.com/yourusername/ieee754-converter.git
cd ieee754-converter
Install dependencies
bun install
Run development server
bun run tauri dev
Building for Production
Desktop
bun run tauri build
Android
bun run tauri android build
Example Conversions
| Decimal |
Precision |
Hexadecimal |
Binary |
| 3.14 |
Single |
0x4048F5C3 |
01000000 01001000 11110101 11000011 |
| -0.5 |
Single |
0xBF000000 |
10111111 00000000 00000000 00000000 |
| 42.0 |
Double |
0x4045000000000000 |
64 bits |
Contributing
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- IEEE 754 Standard for floating-point arithmetic
- The Tauri team for an amazing framework
- The Svelte community for their excellent documentation
Made with ā¤ļø using Rust, Tauri, and SvelteKit
ā Star this repo if you find it helpful!