00001
00002
00003
00004
00005
00006 #if (!defined __USE_ISOC99 && !defined _ISOC99_SOURCE && \
00007 !defined _ISOC9X_SOURCE && !(defined __STDC_VERSION__ && \
00008 (__STDC_VERSION__ >= 199901L)))
00009
00010 static double fmax(double a, double b)
00011 {
00012 return (a > b) ? a : b;
00013 }
00014
00015 static double fmin(double a, double b)
00016 {
00017 return (a < b) ? a : b;
00018 }
00019
00020 static long double atanl(long double t)
00021 {
00022 return (long double)atan((double)t);
00023 }
00024
00025 static long double atan2l(long double s, long double t)
00026 {
00027 return (long double)atan2((double)s, (double)t);
00028 }
00029
00030 #endif