[INTERPRETER]

* BUG: Other non-defined mathematical function management.


git-svn-id: svn://localhost/gambas/trunk@1216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2008-03-21 01:25:37 +00:00
parent 7053cc0b25
commit de9ea5223d
2 changed files with 13 additions and 2 deletions

View File

@ -67,6 +67,10 @@ long double powl(long double x, long double y)
return pow((double) x, (double) y);
}
#endif
#ifdef OS_CYGWIN
long double modfl(long double x, long double *p)
{
double r, dp;

View File

@ -44,16 +44,23 @@ double ang(double x, double y);
void randomize(bool set, uint seed);
double rnd(void);
#if defined(OS_FREEBSD) || defined(OS_OPENBSD)
#if defined(OS_FREEBSD) || defined(OS_OPENBSD) || defined(OS_CYGWIN)
double exp10(double x);
#ifdef log2
#undef log2
#endif
double log2(double x);
#endif
#ifdef OS_OPENBSD
#if defined(OS_OPENBSD) || defined(OS_CYGWIN)
double exp2(double x);
long double log10l(long double x);
long double fabsl(long double x);
long double powl(long double x, long double y);
#endif
#ifdef OS_CYGWIN
long double modfl(long double x, long double *p);
#endif
#endif