Bignumber-billjeff - C++ Based Number Class

  •        454

IntroductionThis is a C++ based big number class. I host this project just for fun. There are some powerful libs for high precision arithmetic operations such as GMP. I hope to improve my coding ability through this project. LogJan/8/2008 - Update wiki page. Jan/16/2008 - BigInt Class, write the souce code for ctr for arguments such as string/C-string/int etc and test the code. Jan/29/2008 - Implement add/minus function for int( class BigInt ). Jan/31/2008 - Implement and debug for add operation. Feb/8/2008 - Implement memory model for bigint class. Feb/10/2008 - Implement power(m, n) function, solve several bugs, upload source codes to svn repository in trunk directory. Feb/19/2008 - Implement factorial(n) function. Solve several bugs including bugs in pdivide function. Feb/21/2008 - Debug operator %, find some bugs in pminus() function and solve them. Feb/22/2008 - BigReal ctors implementation and debug. Feb/23/2008 - BigReal constructor function implement. Mar/3/2008 - BigReal ctor debug, test several test cases for BigReal. Mar/4/2008 - BigReal debug, finish debuging ctors. Implement copy ctor. Mar/6/2008 - Implement BigReal's ctor for BigInt and vice versa; Implement operator>> for BigReal; Implement operator= for BigReal. Mar/11/2008 - Implement member function swap for BigReal and BigInt; Implement swap function in func.h; Implement pcomp, ==, !=, >=, >, <=, < . Mar/12/2008 - Debug: ==, !=, >=, >, <=, < and pcomp. Mar/25/2008 - BigReal::Add() implement. Mar/26/2008 - BigReal::add() implement and debug. Mar/27/2008 - BigReal::add() debug. April/1/2008 - BigReal::add() debug, finish positive add positive and negative add negative function debug. April/2/2008 - Implement pminus() and finish implement add() function. April/10/2008 - Implement minus() and test it. April/13/2008 - Implement BigReal::multiply() and test it. April/15/2008 - Implement BigReal and BigInt's divide function. April/22/2008 - Implement BigReal's divide function, debug BigInt and BigReal's divide function. May/6/2008 - Debug BigReal::Divide, BigInt::Divide, BigReal::resultAdjust. May/8/2008 - Finish debugging about BigReal::divide. Add several overloaded functions in func.h and func.cpp files. May/12/2008 - Implement sqrt and abs function in func.cpp May/13/2008 - Solve bugs in BigReal::pcomp, sqrt for BigInt. May/14/2008 - Implement billjeff::sqrt for BigReal and finish debug it. Debug billjeff::abs template function. Implement operator% for BigInt and test it. May/20/2008 - Impelment isPrime() in func.cpp and debug it. May/24/2008 - Add keyword explicit to BigInt and BigReals' ctors which are used to construct BigReal and BigInt's object from other types such as int/string etc. And finish debug T18 in test_bigreal.cpp. Add overloaded function in func.h for comparison and math operations. See svn diff for more details. May/26/2008 - Implement and debug fib(BigInt) and fib(int) in func.cpp. May/27/2008 - Implement gcd and lcm in func.h, and debug them. May/28/2008 - Finish Implement functions specified in func.h. Add try...catch block to new and delete statements. May/29/2008 - Improve power function using binary way. Release the version 1.0 of BigNumber. Current WorkTo implement sqr, sqrt, log, pi calculation, isprime, nextPrime, gcd, lcm, fibnacci, abs, bit, random, math related functions. To implement XML-RPC supported server program. TODOMulti-thread support. Reference some functions from other libs. Limit the value of mem ;

http://code.google.com/p/bignumber-billjeff

Tags
Implementation
License
Platform

   




Related Projects

raspBerry+


raspBerry+ is a web-based administration platform for Blackberry Enterprise Server for MS Exchange (BES). You can group-based activate/kill/delete/add and get status of users, their handhelds and services. With a little download-area and a comment-system

RASP


RASP's A Sneakernet Proxy; download using a thumbdrive.

RasmusDSP


RasmusDSP is an embeddable Audio/MIDI processor. It contains various filters and generators (including SoundFont 2.0 compatible synthesizer). Has a script interpreter which is used to describe instruments, route Audio/MIDI signal between processor units.

Rasea


An acronym for cRoss-plAtform accesS control for Enterprise Applications. Rasea aims to become a reference in access control as a service based on the RBAC model.

Rascal


Rascal, the Advanced Scientific CALculator, is a platform independent modular calculator. Based on modules for integer, doubles, strings, vectors and matrices it can be easily extended with existing C or C++ code.



Rars


RARS is the Robot Auto Racing Simulation, in which the drivers are robot programs. It is intended as a competition among programmers. It consists of a simulation of the physics of cars, a graphic display of the race, and a robot driver for each car.

RARPlayer


This small program allows you to play a video directly from a RAR file and do so in real-time. Both VLC and MPlayer are supported video players.

RAReXtract


RAReXtract is a Front-End for the UnRAR command line utility for Mac OS X 10.5 (Leopard). Its purpose is the rapid and convenient extraction of RAR archives with a double click.

RAR Expander


Rar Expander is a MacOSX program which extracts the files contained in single or multi-volume RAR archives. It uses the official unRAR library internally so it is fully compatible with archives produced by WinRAR.

rarcrack


This program uses a brute force algorithm to guess your encrypted compressed file\'s password. If you forget your encrypted file password, this program is the solution. This program can crack zip,7z and rar file passwords.

RArcInfo


RArcInfo is a package for R (http://www.r-project.org) to import data from binary Arc/Info V7.X coverages and E00 files . This will allow R users to used it as a primary GIS tool.

rar brute force shell script - rarbrute


This is rarbrute, a shell script to brute force encrypted rar files under unix and linux. A long wordlist and a paper about security in internet cafes is included.

Raquel Database System


The system will : 1. use RAQUEL (= Relational Algebra Query, Update and Executive Language) for programming, implementing Third Manifesto principles. 2. have a 'Lego-like' architecture of building blocks and plug-ins, for wider applicability.

RAPv4


RAPv4 is an engine for building web application with only a business description (in XML format). NEW 04/2006 : Stable 2006 release. Add new functions like mail, sms, web services, graph, map engine (GIS), Excel output, QBE... and also a beta release of

Rafkill


2d Scroller. Clone of Raptor: Call of the Shadows and Tyrian. Fun game written in c++ using allegro.

rapple


Lightweight XML based transformation tool written in C that builds upon expat, tidylib and XSLT to tranform authored web content (incl. Word processor generated HTML) into styled web content suitable for publication.

RapidSMS


RapidSMS is an open-source internet and communications platform

RapidSmith


RapidSmith is a research-based FPGA CAD tool framework written in Java for modern Xilinx FPGAs. Based on XDL, its objective is to serve as a rapid prototyping platform for research ideas and algorithms relating to low level FPGA CAD tools.

Rapidshare Mass Downloader


What this program does is bringing out human interaction while downloading files from rapidshare(without premium account). It downloads all the rapidshare links sequentially to the specified location.

rapido visual profiler


rapido is a visual profiler for linux-x86. It traces function call using the ptrace interface and displays the information collected in a nice visual flow chart. rapido does not require the re-compilation of the application.