big_int.cpp File Reference

#include "config.hpp"
#include <cstddef>
#include <limits>
#include <cmath>
#include "big_int.hpp"
#include "_utility.hpp"
#include <cstdlib>
#include <malloc.h>
#include <sstream>
#include <cctype>
#include "rational.hpp"

Go to the source code of this file.

Namespaces

namespace  Arageli

Standard integer mathematical operations.

big_int Arageli::operator+ (const big_int &b, const big_int &c)
big_int Arageli::operator- (const big_int &b, const big_int &c)
big_int Arageli::operator * (const big_int &b, const big_int &c)
big_int Arageli::operator% (const big_int &b, const big_int &c)
big_int Arageli::operator/ (const big_int &b, const big_int &c)
big_int Arageli::operator<< (const big_int &a, std::size_t n)
big_int Arageli::operator>> (const big_int &a, std::size_t n)
big_int Arageli::operator & (const big_int &a, const big_int &b)

Typedefs

typedef Arageli::_Internal::digit digit

Functions

void Arageli::big_arith_error (const char *s)
void Arageli::calc_bdn_radix (digit radix, digit &bdn_radix, std::size_t &chars_per_digit)
int Arageli::cmp (const big_int &a, const big_int &b)
 Compares two big integers.
digit Arageli::random_digit ()
digit Arageli::stream_radix (std::ios &s)
std::ostream & Arageli::operator<< (std::ostream &s, const big_int &x)
 Reads a number from a string notation.
void Arageli::set_stream_radix (std::ios &s, digit radix)
std::istream & Arageli::operator>> (std::istream &s, big_int &x)
 Writes a number to a string notation.


Typedef Documentation

typedef Arageli::_Internal::digit digit [static]

Definition at line 326 of file big_int.cpp.


Generated on Thu Aug 31 17:38:17 2006 for Arageli by  doxygen 1.4.7