maurges / bignumbers Goto Github PK
View Code? Open in Web Editor NEWarbitrarily big numbers written in c++
arbitrarily big numbers written in c++
отличная идея как это сделать: добавить игнорирующие знак операции, и в операторах отсылать к ним, лишь переделывая за ними знак. Почти как это сейчас в quot_rem.
Вместо чёрной магии сделать беззнаковое сравнение, и в жизни потом пригодится
как я мог такое написать?
as changing digits of a copy changes the original too. Maybe delete it altogether?
После добавления битовых сдвигов для умножения деление стало падать при многократном делении на числа с всего одной единицей. Как видно из tests/div_spec.cpp
это не повторить при специальном делении, но если в нормализацию в делении вернуть operator*
вместо atomic_product
, получим ошибку на уже шаге 5-м в tests/div_shifts.cpp
. Пока этот костыль с atomic_product я оставил, потому что ну не должен он сильно влиять на скорость, но в будущем надо разобраться, что это такое.
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.