Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -0,0 +1,21 @@
include "NSLog.incl"
include "gmp.incl"
void local fn LongMultiplication
mpz_t power, result
mpz_init(power)
mpz_init(result)
mpz_ui_pow_ui( result, 2, 64 )
CFTimeInterval t = fn CACurrentMediaTime
mpz_mul( result, result, result )
NSLog( @"\n2^64 * 2^64 = %@", fn mpz_cf( 10, result ) )
NSLog( @"\nCompute time: %.3f ms",(fn CACurrentMediaTime-t)*1000 )
mpz_clear(power )
mpz_clear(result )
end fn
fn LongMultiplication
HandleEvents