}
#endif
+#ifndef HAVE_FABSF
+float
+fabsf(float x)
+{
+ return (float) fabs(x);
+}
+#endif
+
#ifndef HAVE_FLOORF
float
floorf(float x)
}
#endif
-/* Note that if HAVE_FPCLASSIFY is not defined, then NaN is not handled */
+
+#ifndef HAVE_POWF
+float
+powf(float x, float y)
+{
+ return (float) pow(x, y);
+}
+#endif
+
+/* Note that if fpclassify is not defined, then NaN is not handled */
/* Algorithm by Steven G. Kargl. */
round(double x)
{
double t;
-#ifdef HAVE_FPCLASSIFY
+#if defined(fpclassify)
int i;
i = fpclassify(x);
if (i == FP_INFINITE || i == FP_NAN)
roundf(float x)
{
float t;
-#ifdef HAVE_FPCLASSIFY
+#if defined(fpclassify)
int i;
i = fpclassify(x);
}
}
#endif
-