mathdef.h
989 Bytes
/*---------------------------------------------------------------------*
Copyright (C) 1997-1999 NINTENDO Co.,Ltd.
$RCSfile: mathdef.h,v $
$Revision: 1.1.1.1 $
$Date: 2002/10/30 02:07:09 $
*---------------------------------------------------------------------*/
#ifndef __MATHDEF_H__
#define __MATHDEF_H__
#define DVAL_ZERO 0.0
#define DVAL_LOG10 2.3025850929940456790
#define DVAL_LOG2 0.6931471805599453094172321
#define DVAL_PI 3.141592653589793238462643
#define DBL_EPSILON 2.2204460492503131E-16
#define DBL_MIN 2.2250738585072014E-308
#define DBL_MAX 1.7976931348623157E+308
#define FVAL_ZERO 0.0F
#define FVAL_LOG10 2.3025850929940456790F
#define FVAL_LOG2 0.6931471805599453094172321F
#define FVAL_PI 3.141592653589793238462643F
#define FLT_EPSILON 1.19209290E-07F
#define FLT_MIN 1.17549435E-38F
#define FLT_MAX 3.40282347E+38F
#define ULNG_MAX 0xFFFFFFFF
#define LNG_MAX 0x7FFFFFFF
#endif