summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/complex/docomplexl.c
blob: 2f2eb7d06a7d6619faad6ea6bcd31e20b8733b94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (c) 2010, 2011 by
 * Ralf Corsepius, Ulm/Germany. All rights reserved.
 *
 * Permission to use, copy, modify, and distribute this software
 * is freely granted, provided that this notice is preserved.
 */

/*
 * Try to compile and link against POSIX complex math routines.
 */

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

/* FIXME: Why is this defined? */
#define NO_LONG_DOUBLE

#ifdef NO_LONG_DOUBLE
  #define PROVIDE_EMPTY_FUNC
#endif

#define SUFFIX l
#define FTYPE long double
#define PRI "%Lf"

#include "docomplex.h"