Ieee754

Latest version: v0.11

Safety actively analyzes 623439 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.11

This version fixes the issue 4

**Full Changelog**: https://github.com/canbula/ieee754/compare/v_0.10...v_0.11

0.10

This version adds more details to the convert back to decimal number.

**Full Changelog**: https://github.com/canbula/ieee754/compare/v_09...v_0.10

v_09
This version fix the scale up procedure for negative numbers. The problem arises from handling numbers as strings, therefore normalization takes the negative sign into consideration. The solution is to use the absolute value of the number.

**Full Changelog**: https://github.com/canbula/ieee754/compare/v_08...v_09

v_08
This version introduces the `produce_output()` method to dump all the details as a dictionary.

**Full Changelog**: https://github.com/canbula/ieee754/compare/v_07...v_08

v_07
This version adds the following features:
- `hex` method now supports left padding with zeros instead of truncating
- `back_to_decimal_from_bits` method is added to the class
- `converted_number` and `error` properties are added to give the converted float value back from the IEEE representation and the error raising from this procedure, respectively.

**Full Changelog**: https://github.com/canbula/ieee754/compare/v_06...v_07

v_06
This version fixes the sign-denormal check conflict.

**Full Changelog**: https://github.com/canbula/ieee754/compare/v_05...v_06

v_05
In this version, the documentation is added for the class and the functions. You can find the other improvements coming with the recently published v0.4.


This version will change the method that is used to convert the number into binary format. With this version, following features are added to this module:
- Scaling up the number to an integer, which is a more robust way to handle the conversion procedure.
- Handling the edge cases such as +Inf, -Inf, Nan, qNan, sNan, +0, -0, and denormals.
- In the output, the sign, exponent, and mantissa bits are separated with a whitespace now.
- `str2hex` method is renamed as `hex` to return the hexadecimal output.
- `json` format is added to get all the details of the results.

Also this version has fixed the issues:
Inaccurate results for some values - https://github.com/canbula/ieee754/issues/3#issue-1458629707
Precision issues - https://github.com/canbula/ieee754/issues/2#issue-1371574796
Wrong result - https://github.com/canbula/ieee754/issues/1#issue-1285788090

Thank you all for the support and the contributions. I hope you enjoy the new version.


v_04
This version will change the method that is used to convert the number into binary format. With this version, following features are added to this module:
- Scaling up the number to an integer, which is a more robust way to handle the conversion procedure.
- Handling the edge cases such as +Inf, -Inf, Nan, qNan, sNan, +0, -0, and denormals.
- In the output, the sign, exponent, and mantissa bits are separated with a whitespace now.
- `str2hex` method is renamed as `hex` to return the hexadecimal output.
- `json` format is added to get all the details of the results.

Also this version has fixed the issues:
Inaccurate results for some values - https://github.com/canbula/ieee754/issues/3#issue-1458629707
Precision issues - https://github.com/canbula/ieee754/issues/2#issue-1371574796
Wrong result - https://github.com/canbula/ieee754/issues/1#issue-1285788090

Thank you all for the support and the contributions. I hope you enjoy the new version.

**Full Changelog**: https://github.com/canbula/ieee754/compare/v_03...v_04

v_03
Hotfix

v_02

0.2

v_01
Initial release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.