summaryrefslogtreecommitdiff
path: root/lib/libm/noieee_src/n_nan.c
blob: 3b0cb57a4ba4631d62f5c4e1e56cb414b5b3300e (plain)
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
29
/*	$OpenBSD: n_nan.c,v 1.1 2009/03/28 16:16:30 martynas Exp $	*/

/*
 * Written by Martynas Venckus.  Public domain
 */

#include <math.h>

/* ARGSUSED */
double
nan(const char *tagp)
{
	return (0);
}

/* ARGSUSED */
float
nanf(const char *tagp)
{
	return (0);
}

/* ARGSUSED */
long double
nanl(const char *tagp)
{
	return (0);
}