version 1.2, 1995/11/07 18:06:56
|
version 1.3, 1996/10/13 19:56:23
|
Line 24
|
Line 24
|
#define M_LN10 2.30258509299404568402 |
#define M_LN10 2.30258509299404568402 |
#endif |
#endif |
|
|
|
#ifndef _ANSI_MATH_H |
/* this should be defined by math.h; If it is not, the miranda |
/* this should be defined by math.h; If it is not, the miranda |
prototype would be wrong; Since we prefer compile-time errors to |
* prototype would be wrong; Since we prefer compile-time errors to |
run-time errors, it's declared here. */ |
* run-time errors, it's declared here. */ |
extern double exp(double); |
extern double exp(double); |
|
|
|
#endif /* _ANSI_MATH_H */ |
|
|
double pow10(double x) |
double pow10(double x) |
{ |
{ |
return exp(x*M_LN10); |
return exp(x*M_LN10); |