* Makefile.in, configure.in, configure,
[fw/sdcc] / device / lib / atanf.c
index ed70035c9c04b051bdd8409b1c63d698aaf99fac..f254ae20b5dbbc524cc261ce8f0c591d2c2429cf 100644 (file)
 #define K3  1.7320508076 /* sqrt(3)   */
 
 #ifdef SDCC_mcs51
-   #define myconst code
+   #define myconst __code
 #else
    #define myconst const
 #endif
 
-float atanf(const float x) reentrant
+float atanf(const float x) _FLOAT_FUNC_REENTRANT
 {
     float f, r, g;
     int n=0;
@@ -73,4 +73,3 @@ float atanf(const float x) reentrant
     if(x<0.0) r=-r;
     return r;
 }
-