summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/mathf/domathf.c
blob: 3aece952d73ed6696a8796be220d86f3dcc608d8 (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
/*
 * 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_FLOAT
  #define PROVIDE_EMPTY_FUNC
#endif

#define SUFFIX f
#define FTYPE float
#define PRI "%f"

#include <domath.h>