]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Define NDIGIT_MAX.
authorUlrich Drepper <drepper@redhat.com>
Wed, 23 Jun 1999 12:41:05 +0000 (12:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 23 Jun 1999 12:41:05 +0000 (12:41 +0000)
misc/qefgcvt.c
misc/qefgcvt_r.c

index 853252cf7812f71e1b15e7c55cc0e6810c16ff71..af65fc1688e659db1e69d0ccffaeadd82ef5157d 100644 (file)
@@ -1,5 +1,5 @@
 /* Compatibility functions for floating point formatting, long double version.
-   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,5 +24,6 @@
    we don't have log10 available in the preprocessor.  Since we cannot
    assume anything on the used `long double' format be generous.  */
 #define MAXDIG (LDBL_DIG + 12)
+#define NDIGIT_MAX LDBL_DIG
 
 #include "efgcvt.c"
index 092a639f60050c9688263c9ee7c515cf442e618b..012ab54acc4c95dc7ae840a91638e8ad178d8b1b 100644 (file)
@@ -1,6 +1,6 @@
 /* Compatibility functions for floating point formatting, reentrant,
    long double versions.
-   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,5 +22,6 @@
 #define FUNC_PREFIX q
 #define FLOAT_FMT_FLAG "L"
 #define FLOAT_NAME_EXT l
+# define NDIGIT_MAX LDBL_DIG
 
 #include "efgcvt_r.c"