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/mathfp/s_acos.c | 93 --------------------------------------------- 1 file changed, 93 deletions(-) delete mode 100644 newlib/libm/mathfp/s_acos.c (limited to 'newlib/libm/mathfp/s_acos.c') diff --git a/newlib/libm/mathfp/s_acos.c b/newlib/libm/mathfp/s_acos.c deleted file mode 100644 index e03344e..0000000 --- a/newlib/libm/mathfp/s_acos.c +++ /dev/null @@ -1,93 +0,0 @@ - -/* @(#)z_acos.c 1.0 98/08/13 */ - -/* -FUNCTION - <>, <>---arc cosine - -INDEX - acos -INDEX - acosf - -ANSI_SYNOPSIS - #include - double acos(double <[x]>); - float acosf(float <[x]>); - -TRAD_SYNOPSIS - #include - double acos(<[x]>) - double <[x]>; - - float acosf(<[x]>) - float <[x]>; - - - -DESCRIPTION - - <> computes the inverse cosine (arc cosine) of the input value. - Arguments to <> must be in the range @minus{}1 to 1. - - <> is identical to <>, except that it performs - its calculations on <>. - -RETURNS - @ifinfo - <> and <> return values in radians, in the range of 0 to pi -. - @end ifinfo - @tex - <> and <> return values in radians, in the range of <<0>> t -o $\pi$. - @end tex - - If <[x]> is not between @minus{}1 and 1, the returned value is NaN - (not a number) the global variable <> is set to <>, and a - <> message is sent as standard error output. - - You can modify error handling for these functions using <>. - - -QUICKREF ANSI SVID POSIX RENTRANT - acos y,y,y,m - acosf n,n,n,m - -MATHREF - acos, [-1,1], acos(arg),,, - acos, NAN, arg,DOMAIN,EDOM - -MATHREF - acosf, [-1,1], acosf(arg),,, - acosf, NAN, argf,DOMAIN,EDOM - -*/ - -/***************************************************************** - * Arccosine - * - * Input: - * x - floating point value - * - * Output: - * arccosine of x - * - * Description: - * This routine returns the arccosine of x. - * - *****************************************************************/ - -#include "fdlibm.h" -#include "zmath.h" - -#ifndef _DOUBLE_IS_32BITS - -double -_DEFUN (acos, (double), - double x) -{ - return (asine (x, 1)); -} - -#endif /* _DOUBLE_IS_32BITS */ -- cgit v1.2.3