| delorie.com/archives/browse.cgi | search |
| Date: | Wed, 15 Apr 1998 11:06:08 +0300 (IDT) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| To: | Albert Bae <jwbae AT e-z DOT net> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Significant Digits |
| In-Reply-To: | <35338A5C.D17E22CA@e-z.net> |
| Message-ID: | <Pine.SUN.3.91.980415110436.7293N-100000@is> |
| MIME-Version: | 1.0 |
On Tue, 14 Apr 1998, Albert Bae wrote: > I am making a program that needs high precision because it has to > numerically integrate a function twice. I beleive that the double data > type only gives 7 significant figures. This is incorrect. Double variables have 15 significant digits. You can always tell how much by looking at the definition of DBL_DIG in the <float.h> header.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |