File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -224,11 +224,6 @@ endian processor, or ``0`` on little endian processor.
224224Return value: ``0`` if all is OK, ``-1`` if error (and an exception is set,
225225most likely :exc: `OverflowError `).
226226
227- There are two problems on non-IEEE platforms:
228-
229- * What this does is undefined if *x* is a NaN or infinity.
230- * ``-0.0`` and ``+0.0`` produce the same bytes string.
231-
232227.. c:function:: int PyFloat_Pack2(double x, char *p, int le)
233228
234229 Pack a C double as the IEEE 754 binary16 half-precision format.
@@ -256,9 +251,6 @@ Return value: The unpacked double. On error, this is ``-1.0`` and
256251:c:func:`PyErr_Occurred` is true (and an exception is set, most likely
257252:exc: `OverflowError `).
258253
259- Note that on a non-IEEE platform this will refuse to unpack a bytes string that
260- represents a NaN or infinity.
261-
262254.. c:function:: double PyFloat_Unpack2(const char *p, int le)
263255
264256 Unpack the IEEE 754 binary16 half-precision format as a C double.
You can’t perform that action at this time.
0 commit comments