From a6c1ed4716cf02626ea035beb6dd4a921642ba80 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 3 Jan 2018 17:39:24 -0700 Subject: Use libc from agbcc instead of standalone newlib\nYou must have AGBCC commit 80d029caec189587f8b9294b6c8a5a489b8f5f88 in order to compile pmd_red.gba --- newlib/libm/common/s_nan.c | 47 ---------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 newlib/libm/common/s_nan.c (limited to 'newlib/libm/common/s_nan.c') diff --git a/newlib/libm/common/s_nan.c b/newlib/libm/common/s_nan.c deleted file mode 100644 index f062426..0000000 --- a/newlib/libm/common/s_nan.c +++ /dev/null @@ -1,47 +0,0 @@ -/* - * nan () returns a nan. - * Added by Cygnus Support. - */ - -/* -FUNCTION - <>, <>---representation of infinity - -INDEX - nan -INDEX - nanf - -ANSI_SYNOPSIS - #include - double nan(void); - float nanf(void); - -TRAD_SYNOPSIS - #include - double nan(); - float nanf(); - - -DESCRIPTION - <> and <> return an IEEE NaN (Not a Number) in - double and single precision arithmetic respectivly. - -QUICKREF - nan - pure - -*/ - -#include "fdlibm.h" - -#ifndef _DOUBLE_IS_32BITS - - double nan() -{ - double x; - - INSERT_WORDS(x,0x7ff80000,0); - return x; -} - -#endif /* _DOUBLE_IS_32BITS */ -- cgit v1.2.3