Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: third_party/bigint/BigIntegerUtils.hh

Issue 754743003: Modify big integer library (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Add copyright notice Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code by Matt McCutchen, see the LICENSE file
6
1 #ifndef BIGINTEGERUTILS_H 7 #ifndef BIGINTEGERUTILS_H
2 #define BIGINTEGERUTILS_H 8 #define BIGINTEGERUTILS_H
3 9
4 #include "BigInteger.hh" 10 #include "BigInteger.hh"
5 #include <string> 11 #include <string>
6 #include <iostream> 12 #include <iostream>
7 13
8 /* This file provides: 14 /* This file provides:
9 * - Convenient std::string <-> BigUnsigned/BigInteger conversion routines 15 * - Convenient std::string <-> BigUnsigned/BigInteger conversion routines
10 * - std::ostream << operators for BigUnsigned/BigInteger */ 16 * - std::ostream << operators for BigUnsigned/BigInteger */
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 69 }
64 70
65 // Create the BigInteger. 71 // Create the BigInteger.
66 BigInteger x(blocks, numBlocks, sign); 72 BigInteger x(blocks, numBlocks, sign);
67 73
68 delete [] blocks; 74 delete [] blocks;
69 return x; 75 return x;
70 } 76 }
71 77
72 #endif 78 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698