Skip to content

Commit 5e3b7a9

Browse files
committed
Tweak comment
1 parent 210595d commit 5e3b7a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/test/test_capi/test_float.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def test_pack_unpack_roundtrip_for_nans(self):
199199
# e.g. https://developercommunity.visualstudio.com/t/155064
200200
signaling = 0
201201
if platform.machine().startswith('parisc'):
202-
# HP PA RISC uses 0 for quiet
202+
# HP PA RISC uses 0 for quiet, see:
203203
# https://en.wikipedia.org/wiki/NaN#Encoding
204204
signaling = 1
205205
quiet = int(not signaling)

Lib/test/test_struct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ def test_half_float(self):
919919
# Check that packing produces a bit pattern representing a quiet NaN:
920920
# all exponent bits and the msb of the fraction should all be 1.
921921
if platform.machine().startswith('parisc'):
922-
# HP PA RISC uses 0 for quiet
922+
# HP PA RISC uses 0 for quiet, see:
923923
# https://en.wikipedia.org/wiki/NaN#Encoding
924924
expected = 0x7c
925925
else:

0 commit comments

Comments
 (0)