Related to Python int to binary string?, I would like to know a pythonic way to get the IEEE-754 binary32 representation of a number of int, float, or double.
For example, 42.0 is to be converted to 1 10000100 01010 000000000000000000
Related to Python int to binary string?, I would like to know a pythonic way to get the IEEE-754 binary32 representation of a number of int, float, or double.
For example, 42.0 is to be converted to 1 10000100 01010 000000000000000000