Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef UTMATH_H
00021 #define UTMATH_H
00022
00023 #include <math.h>
00024
00025
00026
00027
00028
00029 #ifndef UT_TYPES_H
00030 #include "ut_types.h"
00031 #endif
00032
00033 #define UT_E 2.7182818284590452354
00034 #define UT_LOG2E 1.4426950408889634074
00035 #define UT_LOG10E 0.43429448190325182765
00036 #define UT_LN2 0.69314718055994530942
00037 #define UT_LN10 2.30258509299404568402
00038 #define UT_PI 3.14159265358979323846
00039 #define UT_PI_2 1.57079632679489661923
00040 #define UT_PI_4 0.78539816339744830962
00041 #define UT_1_PI 0.31830988618379067154
00042 #define UT_2_PI 0.63661977236758134308
00043 #define UT_2_SQRTPI 1.12837916709551257390
00044 #define UT_SQRT2 1.41421356237309504880
00045 #define UT_SQRT1_2 0.70710678118654752440
00046
00047 #if defined(_WIN32) && !defined(__MINGW32__)
00048 #define finite _finite
00049 ABI_EXPORT double rint(double x);
00050 #endif
00051
00052 ABI_EXPORT UT_uint32 UT_newNumber ();
00053
00054 #endif