]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Math/s_fabs.c
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / StdLib / LibC / Math / s_fabs.c
diff --git a/StdLib/LibC/Math/s_fabs.c b/StdLib/LibC/Math/s_fabs.c
deleted file mode 100644 (file)
index 4cd5a5e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/* @(#)s_fabs.c 5.1 93/09/24 */\r
-/*\r
- * ====================================================\r
- * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.\r
- *\r
- * Developed at SunPro, a Sun Microsystems, Inc. business.\r
- * Permission to use, copy, modify, and distribute this\r
- * software is freely granted, provided that this notice\r
- * is preserved.\r
- * ====================================================\r
- */\r
-#include  <LibConfig.h>\r
-#include  <sys/EfiCdefs.h>\r
-#if defined(LIBM_SCCS) && !defined(lint)\r
-__RCSID("$NetBSD: s_fabs.c,v 1.10 2002/05/26 22:01:55 wiz Exp $");\r
-#endif\r
-\r
-/*\r
- * fabs(x) returns the absolute value of x.\r
- */\r
-\r
-#include "math.h"\r
-#include "math_private.h"\r
-\r
-double\r
-fabs(double x)\r
-{\r
-  u_int32_t high;\r
-  GET_HIGH_WORD(high,x);\r
-  SET_HIGH_WORD(x,high&0x7fffffff);\r
-        return x;\r
-}\r