Back to index

tetex-bin  3.0
Classes | Defines | Functions
arith.h File Reference
#include "types.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  doublelong

Defines

#define SHORTSIZE   (sizeof(SHORT)*8)
#define LONGSIZE   (SHORTSIZE*2)
#define MAXSHORT   ((1<<SHORTSIZE)-1)
#define DLrightshift(dl, N)

Functions

void DLmult ()
void DLdiv ()
void DLadd ()
void DLsub ()
fractpel FPmult ()
fractpel FPdiv ()
fractpel FPstarslash ()

Class Documentation

struct doublelong

Definition at line 49 of file arith.h.

Class Members
LONG high
ULONG low

Define Documentation

#define DLrightshift (   dl,
 
)
Value:
{ \
       dl.low = (dl.low >> N) + (((ULONG) dl.high) << (LONGSIZE - N)); \
       dl.high >>= N; \
}

Definition at line 57 of file arith.h.

#define LONGSIZE   (SHORTSIZE*2)

Definition at line 43 of file arith.h.

#define MAXSHORT   ((1<<SHORTSIZE)-1)

Definition at line 44 of file arith.h.

#define SHORTSIZE   (sizeof(SHORT)*8)

Definition at line 42 of file arith.h.


Function Documentation

void DLadd ( )
void DLdiv ( )
void DLmult ( )
void DLsub ( )