Skip to content

Release ieee754 v0.4 for pypi

Compare
Choose a tag to compare
@canbula canbula released this 14 Nov 15:28
· 16 commits to master since this release

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 - #3 (comment)
Precision issues - #2 (comment)
Wrong result - #1 (comment)

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

Full Changelog: v_03...v_04