https://github.com/afterdusk/flop
IEEE 754-style floating-point converter
https://github.com/afterdusk/flop
bfloat16 floating-point floating-point-conversion fp16 ieee-754 tensorfloat
Last synced: 11 months ago
JSON representation
IEEE 754-style floating-point converter
- Host: GitHub
- URL: https://github.com/afterdusk/flop
- Owner: afterdusk
- License: mit
- Created: 2021-03-31T11:08:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-30T00:42:15.000Z (about 3 years ago)
- Last Synced: 2025-05-08T05:59:09.243Z (11 months ago)
- Topics: bfloat16, floating-point, floating-point-conversion, fp16, ieee-754, tensorfloat
- Language: TypeScript
- Homepage: https://flop.evanau.dev
- Size: 1.31 MB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [IEEE 754-Style Floating-Point Converter](https://flop.evanau.dev)



Floating-point converter for _FP32_, _FP64_, _FP16_, _bfloat16_, _TensorFloat-32_ and arbitrary IEEE 754-style floating-point types.
This is a website for hands-on exploration of floating-point types, and a convenience tool for sanity checks and low-level debugging.
## Features
- Decimal to float representation conversion, and vice versa
- Wide range of IEEE 754-style types, including that of arbitrary exponent and significand width
- Configurable rounding modes for different use cases (e.g. truncation for deep learning)
## Contributing
Please open an issue if you encounter a bug, have questions, or would like to make a suggestion. Pull requests are also welcome.
### Local Development
This project will require `nodejs` and `yarn`. The following yarn scripts should help you get started on local development.
#### `yarn install`
Install the npm packages this project depends on.
#### `yarn start`
Runs the app in the development mode. Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits and you will also see any lint errors in the console.
#### `yarn test`
Launches the test runner in the interactive watch mode. See [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.