@@ -41,37 +41,37 @@ Python 3.11
41
41
42
42
.. c :function :: int PyFloat_Pack2 (double x, unsigned char *p, int le)
43
43
44
- Pack a C double as 16-bit .
44
+ Pack a C double as the IEEE 754 binary16 half-precision format .
45
45
46
46
Availability: Python 3.6 and newer. Not available on PyPy
47
47
48
48
.. c :function :: int PyFloat_Pack4 (double x, unsigned char *p, int le)
49
49
50
- Pack a C double as 32-bit .
50
+ Pack a C double as the IEEE 754 binary32 single precision format .
51
51
52
52
Not available on PyPy
53
53
54
54
.. c :function :: int PyFloat_Pack8 (double x, unsigned char *p, int le)
55
55
56
- Pack a C double as 64-bit .
56
+ Pack a C double as the IEEE 754 binary64 double precision format .
57
57
58
58
Not available on PyPy
59
59
60
60
.. c :function :: double PyFloat_Unpack2 (const unsigned char *p, int le)
61
61
62
- Unpack 16-bit as a C double.
62
+ Unpack the IEEE 754 binary16 half-precision format as a C double.
63
63
64
64
Availability: Python 3.6 and newer. Not available on PyPy
65
65
66
66
.. c :function :: double PyFloat_Unpack4 (const unsigned char *p, int le)
67
67
68
- Unpack 32-bit as a C double.
68
+ Unpack the IEEE 754 binary32 single precision format as a C double.
69
69
70
70
Not available on PyPy
71
71
72
72
.. c :function :: double PyFloat_Unpack8 (const unsigned char *p, int le)
73
73
74
- Unpack 64-bit as a C double.
74
+ Unpack the IEEE 754 binary64 double precision format as a C double.
75
75
76
76
Not available on PyPy
77
77
0 commit comments