/* tpfac.c CCMATH mathematics library source code. * * Copyright (C) 2000 Daniel A. Atkinson All rights reserved. * This code may be redistributed under the terms of the GNU library * public license (LGPL). ( See the lgpl.license file for details.) * ------------------------------------------------------------------------ */ /* Test: pfac */ #include "ccmath.h" void main(int na,char **av) { int n,ns,j,l,m,kk[32]; if(na<2){ printf("para: n1 n2 ... \n"); exit(-1);} printf("Test of Prime Factorization\n"); for(l=1; l