Skip to main content
Ctrl+K

v5.0.0

  • Overview
  • Quick Reference
  • Reference
  • Appendices
  • GitHub
  • PyPI
  • Overview
  • Quick Reference
  • Reference
  • Appendices
  • GitHub
  • PyPI

Section Navigation

  • Overview
  • Quick Reference
  • Reference
    • Introduction
    • Interpreting Bitstrings
    • Dtypes
    • Bits
    • BitArray
    • Reader
    • Array
    • Functions
  • Appendices
    • Exotic Floating Point Formats
    • Exponential-Golomb Codes
    • Optimisation Techniques
    • Upgrading to version 5
  • Appendices

Appendices#

This section contains supplementary information about the library, including details of some of the more specialist data types that are supported.

  • Exotic Floating Point Formats
    • IEEE 8-bit Floating Point Types
    • Microscaling Formats
    • Conversion
  • Exponential-Golomb Codes
    • ue
    • se
    • Exercise
    • Interleaved codes
  • Optimisation Techniques
    • Use combined read and interpretation
    • Choose the simplest class you can
    • Use dedicated functions for bit setting and checking
  • Upgrading to version 5
    • Minimum Python version
    • Replace stream classes with Reader
    • Update pack() usage
    • Replace stream searching with seeks
    • Remove reliance on range checking exceptions
    • Swap insert() and overwrite() arguments
    • Use explicit construction helpers
    • Separate literals with commas
    • Use explicit Array construction
    • Check file object usage in from_file()
    • Replace bitarray compatibility
    • Update names and dtype spellings
    • Replace global options and modes
    • Apply MX scale factors yourself
    • Check values, truth tests and rounding
    • Prefer the new underscored method names
    • Update exception handling
    • Remove command-line usage
    • Suggested upgrade order

previous

Functions

next

Exotic Floating Point Formats

© Copyright 2006 - 2026, Scott Griffiths.