bigar.hpp File Reference

#include "config.hpp"
#include <cstddef>
#include <cstdlib>
#include <limits>
#include "std_import.hpp"

Go to the source code of this file.

Namespaces

namespace  Arageli
namespace  Arageli::_Internal

Typedefs

typedef unsigned short Arageli::_Internal::digit
typedef unsigned long Arageli::_Internal::doubledigit
typedef unsigned long Arageli::_Internal::extendeddigit
typedef unsigned short Arageli::_Internal::bit

Functions

std::size_t Arageli::_Internal::do_big_int_to_bdn (digit *a, digit *b, std::size_t n, digit bdn_radix)
std::size_t Arageli::_Internal::do_bdn_to_big_int (digit *a, digit *b, std::size_t n, digit bdn_radix)
std::size_t Arageli::_Internal::do_add (digit *p1, const digit *p2, std::size_t m, std::size_t n)
int Arageli::_Internal::do_sub (digit *p1, const digit *p2, std::size_t m, std::size_t n)
std::size_t Arageli::_Internal::do_optimize (const digit *a, std::size_t n)
std::size_t Arageli::_Internal::do_mult (const digit *u, const digit *v, digit *w, std::size_t m, std::size_t n)
digit Arageli::_Internal::do_divide_by_digit (const digit *a, digit *p, std::size_t n, digit d)
std::size_t Arageli::_Internal::do_divide (digit *u, digit *v, digit *q, std::size_t m, std::size_t n)

Variables

const digit Arageli::_Internal::max_digit = 0xFFFF
const extendeddigit Arageli::_Internal::BASE = 0x10000l
const int Arageli::_Internal::bits_per_digit = 16


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