[gforth] / gforth / Attic / pow10.c  

gforth: gforth/Attic/pow10.c

Diff for /gforth/Attic/pow10.c between version 1.2 and 1.3

version 1.2, Tue Nov 7 18:06:56 1995 UTC version 1.3, Sun Oct 13 19:56:23 1996 UTC
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);


Generate output suitable for use with a patch program
Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help