ANAN measured multiplication: 600,000,000 x 600,000,000 decimal digits ======================================================================= operand A: 600,000,000 digits, base-1e9 limbs, seed 20261203 (xorshift generator, bigmul prep) operand B: 600,000,000 digits, same generator, second stream result: 1,200,000,006 decimal digits SHA-256 of the full decimal result string: 75ad50936ff64fba174fe151ae18300490b9e0c28b4a9f1ec6a7cdd9b9fd691e result byte size on disk: 1,200,000,006 bytes (digits, no trailing newline) first 500 digits: 27323948275643883640452312906220500392445534490421120089609074709891301500073235157719488921082568987616286162717868126083692911084353275960101377388066209395057000171759741800923698400993024729131449300341815395696447773952774904991050520904666580031673869370523703275562707942518096593475129117319345712757128555520525438913033531744054804600300135867006262644166698953510729165673765947807931990530021085164973308325445507084800372456790402110661651055701040867074841353091008103344885408483444654 last 500 digits: 84926864918629384201758949624910736925949570177194572077615475361373163800604399196028823229125894473005610034769403737765574255669234649136232041171886750837445530112091885836486924887413636617577678726355523474808028942781716863866432478168153028252323777275097157336345929918617405998366937169978503491357251347454784115056103973979049511588314938681390114012202053504222861571689072775270701622901718227370369731169744763590056672399886639945403936897046652959030431022471954158618594078831060399 Machine: Intel Xeon Platinum 8375C @ 2.90 GHz, 1 core used, 1,993 MB RAM, Ubuntu 22.04.5 Transform length: 2^27 = 134,217,728 points Primes: 2013265921 (g=31), 2281701377 (g=3), 3221225473 (g=5) [2-adic orders 2^27, 2^27, 2^30] Peak RSS per NTT process: 513 MB; CRT pass: 65 MB Measured stage times (seconds, wall): prep (operand generation) 0.76 prime 0: fwd A 17.85, fwd B 18.27, pointwise 0.66, inverse 18.52 prime 1: fwd A 17.69, fwd B 17.78, pointwise 0.70, inverse 18.35 prime 2: fwd A 18.25, fwd B 18.24, pointwise 0.74, inverse 18.62 CRT (3 residues -> exact digits) 3.10 decimal text output (1.2 GB) 4.44 total compute 173.97 Verification (independent, at the full size): for each of four 61-bit primes p, (result mod p) == (A mod p)*(B mod p) mod p: p=2305843009213693951 match p=1000000000000000003 match p=999999999999999989 match p=4611686018427387847 match Cross-check of the whole pipeline against CPython's own big-integer multiply at 1,000,000 digits: identical decimal string, SHA-256 c87c2d67e07ce8ada18d16b6c34a2223f4ba9c1a7c1359d547b57579ea0607d7. Reproduce: gcc -O2 -o bigmul bigmul.c ; ./bigmul prep 600000000 20261203 P then fwd/pmul/inv for pi=0,1,2 with stages 0..27, then crt, text, ver.