]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Stdio/floatio.h
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / StdLib / LibC / Stdio / floatio.h
diff --git a/StdLib/LibC/Stdio/floatio.h b/StdLib/LibC/Stdio/floatio.h
deleted file mode 100644 (file)
index 1cb0bad..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-/*     $NetBSD: floatio.h,v 1.5 2005/05/14 23:51:02 christos Exp $     */\r
-\r
-/*-\r
- * Copyright (c) 1990, 1993\r
- *     The Regents of the University of California.  All rights reserved.\r
- *\r
- * This code is derived from software contributed to Berkeley by\r
- * Chris Torek.\r
- *\r
- * Redistribution and use in source and binary forms, with or without\r
- * modification, are permitted provided that the following conditions\r
- * are met:\r
- * 1. Redistributions of source code must retain the above copyright\r
- *    notice, this list of conditions and the following disclaimer.\r
- * 2. Redistributions in binary form must reproduce the above copyright\r
- *    notice, this list of conditions and the following disclaimer in the\r
- *    documentation and/or other materials provided with the distribution.\r
- * 3. Neither the name of the University nor the names of its contributors\r
- *    may be used to endorse or promote products derived from this software\r
- *    without specific prior written permission.\r
- *\r
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\r
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
- * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\r
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\r
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r
- * SUCH DAMAGE.\r
- *\r
- *     @(#)floatio.h   8.1 (Berkeley) 6/4/93\r
- */\r
-\r
-/*\r
- * Floating point scanf/printf (input/output) definitions.\r
- */\r
-\r
-/* 11-bit exponent (VAX G floating point) is 308 decimal digits */\r
-#define        MAXEXP          308\r
-/* 128 bit fraction takes up 39 decimal digits; max reasonable precision */\r
-#define        MAXFRACT        39\r
-/*    \r
- * MAXEXPDIG is the maximum number of decimal digits needed to store a\r
- * floating point exponent in the largest supported format.  It should\r
- * be ceil(log10(LDBL_MAX_10_EXP)) or, if hexadecimal floating point \r
- * conversions are supported, ceil(log10(LDBL_MAX_EXP)).  But since it\r
- * is presently never greater than 5 in practice, we fudge it.\r
- */   \r
-#define MAXEXPDIG       6\r
-#if LDBL_MAX_EXP > 999999\r
-#error "floating point buffers too small"\r
-#endif \r