Functions | Variables
big.c File Reference
#include "eus.h"
Include dependency graph for big.c:

Go to the source code of this file.

Functions

void add_int_big (eusinteger_t c, pointer x)
 
int big_compare (pointer x, pointer y)
 
int big_length (pointer x)
 
pointer big_minus (pointer x)
 
pointer big_plus (pointer x, pointer y)
 
void big_quotient_remainder (pointer x0, pointer y0, pointer *qp, pointer *rp)
 
pointer big_quotient_remainder_auxiliary (pointer x, pointer y, int i)
 
eusinteger_t big_sign (pointer x)
 
pointer big_times (pointer x, pointer y)
 
eusfloat_t big_to_float (pointer x)
 
eusinteger_t big_zerop (pointer x)
 
void complement_big (pointer x)
 
pointer copy_big (pointer x)
 
eusinteger_t div_big_big (pointer x, pointer y)
 
eusinteger_t div_int_big (eusinteger_t c, pointer x)
 
pointer eusfloat_to_big (float f)
 
pointer extend_big (pointer b, int newsize)
 
void extended_div (eusinteger_t d, eusinteger_t h, eusinteger_t l, eusinteger_t *qp, eusinteger_t *rp)
 
 extended_div (u_int d, u_int h, u_int l, u_int *qp, u_int *rp)
 
void extended_mul (eusinteger_t d, eusinteger_t q, eusinteger_t r, eusinteger_t *hp, eusinteger_t *lp)
 
 extended_mul (u_int d, u_int q, u_int r, u_int *hp, u_int *lp)
 
eusinteger_t get_standardizing_factor_and_normalize (pointer x)
 
static low_extended_mul (extended_mul(d, extended_mul(q, extended_mul(r, extended_mul(hp, u_int *lp)
 
pointer makebig ()
 
void mul_int_big (eusinteger_t c, pointer x)
 
pointer normalize_big (pointer x)
 
pointer normalize_bignum (pointer x)
 
pointer stretch_big (pointer x, eusinteger_t i)
 
void sub_int_big (eusinteger_t c, pointer x)
 
void sub_int_big_big (eusinteger_t c, pointer x, pointer y)
 

Variables

static char * rcsid ="@(#)$Id$"
 

Function Documentation

◆ add_int_big()

void add_int_big ( eusinteger_t  c,
pointer  x 
)

Definition at line 552 of file big.c.

◆ big_compare()

int big_compare ( pointer  x,
pointer  y 
)

Definition at line 437 of file big.c.

◆ big_length()

int big_length ( pointer  x)

Definition at line 914 of file big.c.

◆ big_minus()

pointer big_minus ( pointer  x)

Definition at line 507 of file big.c.

◆ big_plus()

pointer big_plus ( pointer  x,
pointer  y 
)

Definition at line 648 of file big.c.

◆ big_quotient_remainder()

void big_quotient_remainder ( pointer  x0,
pointer  y0,
pointer qp,
pointer rp 
)

Definition at line 886 of file big.c.

◆ big_quotient_remainder_auxiliary()

pointer big_quotient_remainder_auxiliary ( pointer  x,
pointer  y,
int  i 
)
inline

Definition at line 841 of file big.c.

◆ big_sign()

eusinteger_t big_sign ( pointer  x)

Definition at line 423 of file big.c.

◆ big_times()

pointer big_times ( pointer  x,
pointer  y 
)

Definition at line 695 of file big.c.

◆ big_to_float()

eusfloat_t big_to_float ( pointer  x)

Definition at line 954 of file big.c.

◆ big_zerop()

eusinteger_t big_zerop ( pointer  x)

Definition at line 408 of file big.c.

◆ complement_big()

void complement_big ( pointer  x)

Definition at line 475 of file big.c.

◆ copy_big()

pointer copy_big ( pointer  x)

Definition at line 371 of file big.c.

◆ div_big_big()

eusinteger_t div_big_big ( pointer  x,
pointer  y 
)

Definition at line 809 of file big.c.

◆ div_int_big()

eusinteger_t div_int_big ( eusinteger_t  c,
pointer  x 
)

Definition at line 628 of file big.c.

◆ eusfloat_to_big()

pointer eusfloat_to_big ( float  f)

Definition at line 968 of file big.c.

◆ extend_big()

pointer extend_big ( pointer  b,
int  newsize 
)

Definition at line 392 of file big.c.

◆ extended_div() [1/2]

void extended_div ( eusinteger_t  d,
eusinteger_t  h,
eusinteger_t  l,
eusinteger_t qp,
eusinteger_t rp 
)

Definition at line 81 of file big.c.

◆ extended_div() [2/2]

extended_div ( u_int  d,
u_int  h,
u_int  l,
u_int *  qp,
u_int *  rp 
)

Definition at line 247 of file big.c.

◆ extended_mul() [1/2]

void extended_mul ( eusinteger_t  d,
eusinteger_t  q,
eusinteger_t  r,
eusinteger_t hp,
eusinteger_t lp 
)

Definition at line 28 of file big.c.

◆ extended_mul() [2/2]

extended_mul ( u_int  d,
u_int  q,
u_int  r,
u_int*  hp,
u_int*  lp 
)

Definition at line 212 of file big.c.

◆ get_standardizing_factor_and_normalize()

eusinteger_t get_standardizing_factor_and_normalize ( pointer  x)
inline

Definition at line 783 of file big.c.

◆ low_extended_mul()

static low_extended_mul ( extended_mul d,
extended_mul q,
extended_mul r,
extended_mul hp,
u_int *  lp 
)
static

Definition at line 219 of file big.c.

◆ makebig()

pointer makebig ( )

◆ mul_int_big()

void mul_int_big ( eusinteger_t  c,
pointer  x 
)

Definition at line 607 of file big.c.

◆ normalize_big()

pointer normalize_big ( pointer  x)

Definition at line 920 of file big.c.

◆ normalize_bignum()

pointer normalize_bignum ( pointer  x)

Definition at line 938 of file big.c.

◆ stretch_big()

pointer stretch_big ( pointer  x,
eusinteger_t  i 
)
inline

Definition at line 355 of file big.c.

◆ sub_int_big()

void sub_int_big ( eusinteger_t  c,
pointer  x 
)

Definition at line 582 of file big.c.

◆ sub_int_big_big()

void sub_int_big_big ( eusinteger_t  c,
pointer  x,
pointer  y 
)

Definition at line 741 of file big.c.

Variable Documentation

◆ rcsid

char* rcsid ="@(#)$Id$"
static

Definition at line 18 of file big.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 15 2023 02:06:43