/* Specification. */
#include <math.h>
+#if HAVE_REMAINDER
+
float
remainderf (float x, float y)
{
-#if HAVE_REMAINDER
return (float) remainder ((double) x, (double) y);
+}
+
#else
- float i = roundf (x / y);
- return fmaf (- i, y, x);
+
+# define USE_FLOAT
+# include "remainder.c"
+
#endif
-}