]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Main/x86flt_rounds.c
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / StdLib / LibC / Main / x86flt_rounds.c
diff --git a/StdLib/LibC/Main/x86flt_rounds.c b/StdLib/LibC/Main/x86flt_rounds.c
deleted file mode 100644 (file)
index 86b4846..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/** @file\r
-  Return the current FPU rounding mode.\r
-\r
-  Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials are licensed and made available under\r
-  the terms and conditions of the BSD License that accompanies this distribution.\r
-  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-**/\r
-\r
-extern int internal_FPU_rmode( void );\r
-\r
-static INT8  rmode[] = { 1, 3, 2, 0 };\r
-\r
-int\r
-__flt_rounds ( void )\r
-{\r
-  return rmode[ internal_FPU_rmode() ];\r
-}\r