From da68ad21a2834bf81156ee2ace25697d66422b0e Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 30 Jul 2015 17:46:18 -0400 Subject: [PATCH] =?UTF-8?q?Removed=20USING=5FNAMESPACE(std).=20Changed=20h?= =?UTF-8?q?ex=20=E2=86=92=20std::hex,=20etc=20(not=20sure=20how=20these=20?= =?UTF-8?q?six=20escaped=20the=20first=20time)...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nbtheory.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nbtheory.cpp b/nbtheory.cpp index f369ac1c..4e903801 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; - std::cout << hex << t1 << std::endl; + std::cout << std::hex << t1 << std::endl; Integer t2 = u * t1; - std::cout << hex << t2 << std::endl; + std::cout << std::hex << t2 << std::endl; Integer t3 = t2 % q; - std::cout << hex << t3 << std::endl; + std::cout << std::hex << t3 << std::endl; Integer t4 = p * t3; - std::cout << hex << t4 << std::endl; + std::cout << std::hex << t4 << std::endl; Integer t5 = t4 + xp; - std::cout << hex << t5 << std::endl; + std::cout << std::hex << t5 << std::endl; return t5; */ }