#define P(g) (P2*g+P1)
#define Q(g) ((Q2*g+Q1)*g+Q0)
+#ifdef SDCC_mcs51
+ #define myconst __code
+#else
+ #define myconst const
+#endif
+
float asincosf(const float x, const int isacos)
{
float y, g, r;
int i;
- float a[2]={ 0.0, QUART_PI };
- float b[2]={ HALF_PI, QUART_PI };
+
+ static myconst float a[2]={ 0.0, QUART_PI };
+ static myconst float b[2]={ HALF_PI, QUART_PI };
y=fabsf(x);
i=isacos;