SpeedCrunch  0.11
Defines | Functions
/usr/src/RPM/BUILD/speedcrunch-0.11/src/math/floatlong.c File Reference
#include "floatlong.h"
Include dependency graph for floatlong.c:

Defines

#define HALFSIZE   (sizeof(unsigned) * 4)
#define LOWMASK   ((1 << HALFSIZE) - 1)
#define MSB   (1 << (2*HALFSIZE-1))

Functions

int _findfirstbit (unsigned value)
char _longadd (unsigned *s1, unsigned *s2)
char _longmul (unsigned *f1, unsigned *f2)
unsigned _longshr (unsigned low, unsigned high, char shift)
unsigned _longshl (unsigned low, unsigned high, char shift)
unsigned _longarrayadd (unsigned *uarray, int lg, unsigned incr)
unsigned _longarraymul (unsigned *uarray, int lg, unsigned factor)
unsigned _bitsubstr (unsigned *uarray, int ofs)
void _orsubstr (unsigned *uarray, int bitofs, unsigned value)
char _isfull (t_longint *l)
unsigned _bitlength (t_longint *l)
unsigned _lastnonzerobit (t_longint *l)
unsigned _longintadd (t_longint *l, unsigned summand)
unsigned _longintmul (t_longint *l, unsigned factor)
char _longintsetsize (t_longint *l, unsigned bitlength)
char _checkadd (int *s1, int s2)
char _checkmul (int *f1, int f2)

Define Documentation

#define HALFSIZE   (sizeof(unsigned) * 4)
#define LOWMASK   ((1 << HALFSIZE) - 1)
#define MSB   (1 << (2*HALFSIZE-1))

Function Documentation

unsigned _bitlength ( t_longint l)
unsigned _bitsubstr ( unsigned *  uarray,
int  ofs 
)
char _checkadd ( int *  s1,
int  s2 
)
char _checkmul ( int *  f1,
int  f2 
)
int _findfirstbit ( unsigned  value)
char _isfull ( t_longint l)
unsigned _lastnonzerobit ( t_longint l)
char _longadd ( unsigned *  s1,
unsigned *  s2 
)
unsigned _longarrayadd ( unsigned *  uarray,
int  lg,
unsigned  incr 
)
unsigned _longarraymul ( unsigned *  uarray,
int  lg,
unsigned  factor 
)
unsigned _longintadd ( t_longint l,
unsigned  summand 
)
unsigned _longintmul ( t_longint l,
unsigned  factor 
)
char _longintsetsize ( t_longint l,
unsigned  bitlength 
)
char _longmul ( unsigned *  f1,
unsigned *  f2 
)
unsigned _longshl ( unsigned  low,
unsigned  high,
char  shift 
)
unsigned _longshr ( unsigned  low,
unsigned  high,
char  shift 
)
void _orsubstr ( unsigned *  uarray,
int  bitofs,
unsigned  value 
)