summaryrefslogtreecommitdiff
path: root/nbtheory.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-30 17:35:58 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-30 17:35:58 -0400
commit22c3e411334041c8959055d1d104c3039f1e46b1 (patch)
tree35981e23e21213d2a5add610ac579a0f6c20cf65 /nbtheory.cpp
parent2799132fd7c5f344c7685d0bc7903fb51ef7c2b3 (diff)
downloadcryptopp-git-22c3e411334041c8959055d1d104c3039f1e46b1.tar.gz
Removed USING_NAMESPACE(std). Changed cout → std::cout, cerr → std::cerr, ...
Diffstat (limited to 'nbtheory.cpp')
-rw-r--r--nbtheory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/nbtheory.cpp b/nbtheory.cpp
index 135ec753..f369ac1c 100644
--- a/nbtheory.cpp
+++ b/nbtheory.cpp
@@ -562,15 +562,15 @@ Integer CRT(const Integer &xp, const Integer &p, const Integer &xq, const Intege
return p * (u * (xq-xp) % q) + xp;
/*
Integer t1 = xq-xp;
- cout << hex << t1 << endl;
+ std::cout << hex << t1 << std::endl;
Integer t2 = u * t1;
- cout << hex << t2 << endl;
+ std::cout << hex << t2 << std::endl;
Integer t3 = t2 % q;
- cout << hex << t3 << endl;
+ std::cout << hex << t3 << std::endl;
Integer t4 = p * t3;
- cout << hex << t4 << endl;
+ std::cout << hex << t4 << std::endl;
Integer t5 = t4 + xp;
- cout << hex << t5 << endl;
+ std::cout << hex << t5 << std::endl;
return t5;
*/
}