summaryrefslogtreecommitdiff
path: root/StdLib/LibC/Main/infinityf_ieee754.c
diff options
context:
space:
mode:
authorGuo Mang <mang.guo@intel.com>2017-08-02 09:54:47 +0800
committerGuo Mang <mang.guo@intel.com>2017-09-05 19:45:08 +0800
commit6c128c65b5ec0e5b8b5a0ccb165f3afd29e485f8 (patch)
tree444372d92a0ae8991fe4d15eb3937df43690dfda /StdLib/LibC/Main/infinityf_ieee754.c
parentb207c6434d7a5a4502975d322312e07017e8a8cb (diff)
downloadedk2-platforms-6c128c65b5ec0e5b8b5a0ccb165f3afd29e485f8.tar.xz
Remove core packages since we can get them from edk2 repository
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang <mang.guo@intel.com>
Diffstat (limited to 'StdLib/LibC/Main/infinityf_ieee754.c')
-rw-r--r--StdLib/LibC/Main/infinityf_ieee754.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/StdLib/LibC/Main/infinityf_ieee754.c b/StdLib/LibC/Main/infinityf_ieee754.c
deleted file mode 100644
index 3f191650e2..0000000000
--- a/StdLib/LibC/Main/infinityf_ieee754.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* $NetBSD: infinityf_ieee754.c,v 1.2 2005/06/12 05:21:27 lukem Exp $ */
-
-/*
- * IEEE-compatible infinityf.c -- public domain.
- */
-#include <LibConfig.h>
-#include <sys/EfiCdefs.h>
-#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: infinityf_ieee754.c,v 1.2 2005/06/12 05:21:27 lukem Exp $");
-#endif /* LIBC_SCCS and not lint */
-
-#include <math.h>
-#include <machine/endian.h>
-
-const union __float_u __infinityf =
-#if BYTE_ORDER == BIG_ENDIAN
- { { 0x7f, 0x80, 0, 0 } };
-#else
- { { 0, 0, 0x80, 0x7f } };
-#endif