Juggling with hex
Project description
frash
Juggling with hex
Install
pip install frash
Usage
bash> frash 255
$ 0xff
bash> frash 255.
$ 0x1.fep7
bash> frash 98.2
$ 0x1.88ccccccccccdp
bash> frash -r 0x1.88ccccccccccdp6
$ 98.2
bash> frash -r 0x2.p7
$ 256
bash> frash -r 1.8p0
$ 1.5
bash> frash -r 1.8
$ 1.5
bash> frash -r 0x1.8
$ 1.5
bash> frash -r 0x1.8p+1
$ 3
bash> frash -r 0x1.8p-2
$ 0.375
bash> frash -r .de
$ 0.867188
bash> frash -r abap1
$ 5492
bash> frash -r ABAP1
$ 5492
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
frash-0.0.3.tar.gz
(2.0 kB
view hashes)
Built Distributions
frash-0.0.3-py3.9.egg
(3.9 kB
view hashes)
frash-0.0.3-py3-none-any.whl
(2.5 kB
view hashes)