mirror of https://github.com/ByConity/ByConity
Merge branch 'fix-big-integer-readme' into 'cnch-ce-merge'
fix(clickhosuech@0000): Keep the BigInteger orignal README See merge request dp/ClickHouse!10251
This commit is contained in:
parent
01db4d755a
commit
643a1b51c4
|
@ -13,12 +13,9 @@ respectively. Most of the C++ arithmetic operators are overloaded for these
|
||||||
classes, so big-integer calculations are as easy as:
|
classes, so big-integer calculations are as easy as:
|
||||||
|
|
||||||
#include "BigIntegerLibrary.hh"
|
#include "BigIntegerLibrary.hh"
|
||||||
|
|
||||||
BigInteger a = 65536;
|
BigInteger a = 65536;
|
||||||
cout << (a * a * a * a * a * a * a * a);
|
cout << (a * a * a * a * a * a * a * a);
|
||||||
|
|
||||||
(prints 340282366920938463463374607431768211456)
|
|
||||||
|
|
||||||
The code in `sample.cc' demonstrates the most important features of the library.
|
The code in `sample.cc' demonstrates the most important features of the library.
|
||||||
To get started quickly, read the code and explanations in that file and run it.
|
To get started quickly, read the code and explanations in that file and run it.
|
||||||
If you want more detail or a feature not shown in `sample.cc', consult the
|
If you want more detail or a feature not shown in `sample.cc', consult the
|
||||||
|
|
Loading…
Reference in New Issue