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/sf_infinity.c | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 newlib/libm/common/sf_infinity.c (limited to 'newlib/libm/common/sf_infinity.c') diff --git a/newlib/libm/common/sf_infinity.c b/newlib/libm/common/sf_infinity.c deleted file mode 100644 index 8722596..0000000 --- a/newlib/libm/common/sf_infinity.c +++ /dev/null @@ -1,23 +0,0 @@ -/* - * infinityf () returns the representation of infinity. - * Added by Cygnus Support. - */ - -#include "fdlibm.h" - - float infinityf() -{ - float x; - - SET_FLOAT_WORD(x,0x7f800000); - return x; -} - -#ifdef _DOUBLE_IS_32BITS - - double infinity() -{ - return (double) infinityf(); -} - -#endif /* defined(_DOUBLE_IS_32BITS) */ -- cgit v1.2.3