Skip to content

Commit a44e57c

Browse files
committed
gh-138336: find build bots, testing 15-bit case for PyLong's
1 parent e46d403 commit a44e57c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Include/cpython/longintrepr.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ typedef int64_t stwodigits; /* signed variant of twodigits */
4848
#define _PyLong_DECIMAL_SHIFT 9 /* max(e such that 10**e fits in a digit) */
4949
#define _PyLong_DECIMAL_BASE ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
5050
#elif PYLONG_BITS_IN_DIGIT == 15
51+
#error "Boo!"
5152
typedef unsigned short digit;
5253
typedef short sdigit; /* signed variant of digit */
5354
typedef unsigned long twodigits;

0 commit comments

Comments
 (0)