crete an idle task to run when theres ... umm. .. nothing to do ..
[AROS.git] / compiler / mlib / nan.c
blobc5bcbf65af2936119eaec98e3697779ccac7bcfc
1 /*
2 Copyright © 2009, The AROS Development Team. All rights reserved.
3 $Id$
5 Implementation of C99 nan/nanf/nanl functions
6 */
7 #include <math.h>
9 /* FIXME: check handling of NAN for different argument types */
11 float nanf(const char *tagp)
13 (void)tagp;
15 return NAN;
18 double nan(const char *tagp)
20 (void)tagp;
22 return (double)NAN;
25 long double nanl(const char *tagp)
27 (void)tagp;
29 return (long double)NAN;