summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/math/domath.c
blob: 36b4538a8b20be074fc9c6f10a95eaa3d7ced523 (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
/*
 * 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 math routines.
 */

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

#ifdef NO_DOUBLE
  #define PROVIDE_EMPTY_FUNC
#endif

#define FTYPE double
#define PRI "%f"

#include <domath.h>