* es.po: Update.
[official-gcc.git] / gcc / testsuite / gcc.dg / builtins-40.c
blob982175a3a6b631224a5c500cda5e33367821d50d
1 /* Copyright (C) 2004 Free Software Foundation.
3 Check that fmod, fmodf, fmodl, drem, dremf, dreml,
4 remainder, remainderf and remainderl
5 built-in functions compile.
7 Written by Uros Bizjak, 5th May 2004. */
9 /* { dg-do compile } */
10 /* { dg-options "-O2" } */
12 extern double fmod(double, double);
13 extern float fmodf(float, float);
14 extern long double fmodl(long double, long double);
16 extern double remainder(double, double);
17 extern float remainderf(float, float);
18 extern long double remainderl(long double, long double);
20 extern double drem(double, double);
21 extern float dremf(float, float);
22 extern long double dreml(long double, long double);
25 double test1(double x, double y)
27 return fmod(x, y);
30 float test1f(float x, float y)
32 return fmodf(x, y);
35 long double test1l(long double x, long double y)
37 return fmodl(x, y);
40 double test2(double x, double y)
42 return remainder(x, y);
45 float test2f(float x, float y)
47 return remainderf(x, y);
50 long double test2l(long double x, long double y)
52 return remainderl(x, y);
55 double test3(double x, double y)
57 return drem(x, y);
60 float test3f(float x, float y)
62 return dremf(x, y);
65 long double test3l(long double x, long double y)
67 return dreml(x, y);