mi32/math.h File Reference

Math functions and prototypes, also includes standard C math hdr. More...

#include <mi32/stddefns.h>
#include <cmath>
Include dependency graph for math.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define FAST_ROUND   FAST_ROUND_EXACT
#define IND   IEEE_NaN()
#define INF   IEEE_Infinity()
#define LIBEXPORT   MI_DLLIMPORT
#define NAN   IEEE_NaN()
#define NEARINTADJ   .0000001
#define NINF   (-IEEE_Infinity())

Functions

void ConvIEEEToVAX (double ieee_value, UINT8 *vax_value)
double ConvVAXToIEEE (const UINT8 *vax_value)
INT32 FAST_CEIL (double x)
INT32 FAST_CEIL_NEARINT (double x)
INT32 FAST_FLOOR (double x)
INT32 FAST_FLOOR_NEARINT (double x)
INT32 FAST_ROUND_EXACT (double x)
INT32 FAST_ROUND_LIMITED (double x)
INT32 FAST_ROUND_NOLIMIT (double x)
INT32 FAST_ROUND_POSITIVE (double x)
INT32 FAST_TRUNCATE (double x)
INT32 FAST_TRUNCATE_NEARINT (double x)
LIBEXPORT double IEEE_Infinity (void)
LIBEXPORT double IEEE_NaN (void)
bool IsInfNeg (double x)
bool IsInfPos (double x)
bool IsNaN (const double &x)
int log2i (INT64 value, bool roundup=true)
int log2i (UINT64 value, bool roundup=true)
int log2i (INT32 value, bool roundup=true)
int log2i (UINT32 value, bool roundup=true)

Detailed Description

Math functions and prototypes, also includes standard C math hdr.


Define Documentation

#define LIBEXPORT   MI_DLLIMPORT

Generated on Sun Oct 7 21:26:49 2012 for TNTsdk 2012 by  doxygen 1.6.1