cubox / bigcub Goto Github PK
View Code? Open in Web Editor NEWBignum library in C++, for educational purposes only
License: Other
Bignum library in C++, for educational purposes only
License: Other
tests.c++:174:9: #define printBits(x) std::cout << "Printing " << #x << ": "; printBits2(x);
progval@ganymede:/tmp/BigCub(master)$ clang++ -Ofast -std=c++1y *.c++ -I.
In file included from bigcub.c++:7:
In file included from ./vmanip.h++:46:
./vmanip.t.h++:19:38: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize((sizeof(n) * CHAR_BIT) + 1);
^
./vmanip.t.h++:22:37: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize(sizeof(n) * CHAR_BIT);
^
./vmanip.t.h++:26:28: error: use of undeclared identifier 'CHAR_BIT'
for (; i < sizeof(n) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:46:46: error: use of undeclared identifier 'CHAR_BIT'
for (; (i < n.size()) && i < sizeof(T) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:50:48: error: use of undeclared identifier 'CHAR_BIT'
for (; n.back() == true && i < sizeof(T) * CHAR_BIT; ++i) {
^
5 errors generated.
In file included from tests.c++:16:
In file included from ./bigcub.h++:16:
In file included from ./vmanip.h++:46:
./vmanip.t.h++:19:38: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize((sizeof(n) * CHAR_BIT) + 1);
^
./vmanip.t.h++:22:37: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize(sizeof(n) * CHAR_BIT);
^
./vmanip.t.h++:26:28: error: use of undeclared identifier 'CHAR_BIT'
for (; i < sizeof(n) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:46:46: error: use of undeclared identifier 'CHAR_BIT'
for (; (i < n.size()) && i < sizeof(T) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:50:48: error: use of undeclared identifier 'CHAR_BIT'
for (; n.back() == true && i < sizeof(T) * CHAR_BIT; ++i) {
^
tests.c++:25:31: error: use of undeclared identifier 'ULLONG_MAX'
for (uintmax_t i = 0; i < ULLONG_MAX; ++i) {
^
tests.c++:177:40: error: use of undeclared identifier 'CHAR_BIT'
for (size_t i = 0; i < sizeof(T) * CHAR_BIT; ++i) {
^
7 errors generated.
In file included from vmanip.c++:10:
In file included from ./vmanip.h++:46:
./vmanip.t.h++:19:38: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize((sizeof(n) * CHAR_BIT) + 1);
^
./vmanip.t.h++:22:37: error: use of undeclared identifier 'CHAR_BIT'
toReturn.resize(sizeof(n) * CHAR_BIT);
^
./vmanip.t.h++:26:28: error: use of undeclared identifier 'CHAR_BIT'
for (; i < sizeof(n) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:46:46: error: use of undeclared identifier 'CHAR_BIT'
for (; (i < n.size()) && i < sizeof(T) * CHAR_BIT; ++i) {
^
./vmanip.t.h++:50:48: error: use of undeclared identifier 'CHAR_BIT'
for (; n.back() == true && i < sizeof(T) * CHAR_BIT; ++i) {
^
5 errors generated.
bigcub.h++:51:27: Type::const_reference const operator[](size_type n) const;
bigcub.h++:53:27: Type::const_reference const at(size_type n) const;
bigcub.c++:73:31: BigCub::Type::const_reference const BigCub::operator[](size_type n) const
bigcub.c++:81:31: BigCub::Type::const_reference const BigCub::at(size_type n) const {
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.