pock: Probe for the fixnum width by enquiring the largest fixnum value.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 22 Oct 2019 11:16:37 +0000 (12:16 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 11 Apr 2020 11:44:21 +0000 (12:44 +0100)
commit93fae41d41fda185e1763a2f0a244d4b68a1bef2
tree2fc7c8186cee51399ca84b5d4c1922a726da83a4
parent41bfac1d74845acf207c7d1a54432237b297bedb
pock: Probe for the fixnum width by enquiring the largest fixnum value.

Python 3 doesn't distinguish fixnums from bignums at the type level, so
this would run forever.  Instead, get (a guess at) the largest fixnum
value, and use that.
pock