version 1.1, 1997/05/21 20:40:10
|
version 1.6, 2003/08/25 14:17:52
|
Line 1
|
Line 1
|
/* a simple pow10 implementation |
/* a simple pow10 implementation |
|
|
Copyright (C) 1995 Free Software Foundation, Inc. |
Copyright (C) 1995,1998,2000,2003 Free Software Foundation, Inc. |
|
|
This file is part of Gforth. |
This file is part of Gforth. |
|
|
Line 16
|
Line 16
|
|
|
You should have received a copy of the GNU General Public License |
You should have received a copy of the GNU General Public License |
along with this program; if not, write to the Free Software |
along with this program; if not, write to the Free Software |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. |
*/ |
*/ |
#include <math.h> |
#include <math.h> |
|
|
Line 24
|
Line 24
|
#define M_LN10 2.30258509299404568402 |
#define M_LN10 2.30258509299404568402 |
#endif |
#endif |
|
|
#ifndef _ANSI_MATH_H |
#if !defined(_ANSI_MATH_H) && !defined(exp) |
/* 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. */ |