1 /* Copyright (C) 2004 Free Software Foundation.
3 Check that fmod, fmodf, fmodl, drem, dremf and dreml
4 built-in functions compile.
6 Written by Uros Bizjak, 5th May 2004. */
8 /* { dg-do compile } */
9 /* { dg-options "-O2 -ffast-math" } */
11 extern double fmod(double, double);
12 extern double drem(double, double);
13 extern float fmodf(float, float);
14 extern float dremf(float, float);
15 extern long double fmodl(long double, long double);
16 extern long double dreml(long double, long double);
19 double test1(double x, double y)
24 double test2(double x, double y)
29 float test1f(float x, float y)
34 float test2f(float x, float y)
39 long double test1l(long double x, long double y)
44 long double test2l(long double x, long double y)