https://github.com/devfabiosilva/i3ecnv
Simple IEEE 754 float point to register converter
https://github.com/devfabiosilva/i3ecnv
Last synced: about 1 year ago
JSON representation
Simple IEEE 754 float point to register converter
- Host: GitHub
- URL: https://github.com/devfabiosilva/i3ecnv
- Owner: devfabiosilva
- License: mit
- Created: 2021-11-28T21:22:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-01T23:21:07.000Z (over 1 year ago)
- Last Synced: 2025-01-25T21:55:18.229Z (over 1 year ago)
- Language: C
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# i3ecnv
Simple IEEE 754 float point to register converter
## Usage
```sh
IEEE 754 converter:
Type: i3ecnv
```
### Example 1
```sh
./i3ecnv 1.2
```
```sh
Value DOUBLE = 1.200000 -> 0x3FF3333333333333
Value FLOAT = 1.200000 -> 0x3F99999A
```
### Example 2
```sh
./i3ecnv inf
```
```sh
Value DOUBLE = inf -> 0x7FF0000000000000
Value FLOAT = inf -> 0x7F800000
```
## Compiling
- Compile
```sh
gcc -O2 -o i3ecnv i3ecnv.c -Wall
```
- Remove symbols
```sh
strip i3ecnv
```
- Run application
```sh
./i3ecnv
```
## License
MIT