X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FLibraries%2Flibm.so_src%2Finclude_exp%2Fmath.h;h=a86001217923beb5097896521a208b2ed10e0e85;hb=6afcf1f9b14d9ad0111daea549cb0db5bf7f9009;hp=d6d988f22c2deba6104df32e5b0d831083e155b4;hpb=e419521fb536d8d8811ba5f03ee30834a6c13c87;p=tpg%2Facess2.git diff --git a/Usermode/Libraries/libm.so_src/include_exp/math.h b/Usermode/Libraries/libm.so_src/include_exp/math.h index d6d988f2..a8600121 100644 --- a/Usermode/Libraries/libm.so_src/include_exp/math.h +++ b/Usermode/Libraries/libm.so_src/include_exp/math.h @@ -12,6 +12,13 @@ extern "C" { #endif +typedef float float_t; +typedef double double_t; + + +#define INFINITY (*(float*)((uint32_t[]){0x78000000})) +#define NAN (*(float*)((uint32_t[]){0x78000001})) + extern double pow(double x, double y); extern double exp(double x); extern double log(double val);