www.pudn.com > miracl.zip > CRT.CPP
/* * MIRACL Chinese Remainder Thereom routines (for use with crt.h) * * Copyright (c) 1988-1997 Shamus Software Ltd. */ #includeCrt::Crt(int r,Big *moduli) { /* constructor */ big *b=(big *)mr_alloc(r,sizeof(big)); for (int i=0;i