use bigint; say length( 10000->bfac );