Browse Source

Fix programs for timing 2-adic operations: tests/time{div,recip}2adic.cc

At least they compile and run now. TODO: deobfuscate the code and provide
helpful usage messages.
master
Alexei Sheplyakov 16 years ago
parent
commit
b70711baf4
  1. 2
      tests/timediv2adic.cc
  2. 2
      tests/timerecip2adic.cc

2
tests/timediv2adic.cc

@ -23,7 +23,7 @@ int main (int argc, char * argv[])
uintL b_len = atoi(argv[2]); uintL b_len = atoi(argv[2]);
if (!(a_len >= b_len && b_len > 0)) if (!(a_len >= b_len && b_len > 0))
exit(1); exit(1);
SAVE_NUM_STACK;
CL_ALLOCA_STACK;
uintD* a_MSDptr; uintD* a_MSDptr;
uintD* a_LSDptr; uintD* a_LSDptr;
uintD* b_MSDptr; uintD* b_MSDptr;

2
tests/timerecip2adic.cc

@ -20,7 +20,7 @@ int main (int argc, char * argv[])
if (argc < 2) if (argc < 2)
exit(1); exit(1);
uintL len = atoi(argv[1]); uintL len = atoi(argv[1]);
SAVE_NUM_STACK;
CL_ALLOCA_STACK;
uintD* a_MSDptr; uintD* a_MSDptr;
uintD* a_LSDptr; uintD* a_LSDptr;
uintD* b_MSDptr; uintD* b_MSDptr;

Loading…
Cancel
Save