| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Message-Id: | <m13BsYa-003yOHC@smtp.web.de> |
| From: | "Ulrich Jakobus" <u DOT jakobus AT web DOT de> |
| To: | "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com> |
| Date: | Tue, 11 Jul 2000 07:25:46 +0200 |
| Reply-To: | "Ulrich Jakobus" <u DOT jakobus AT web DOT de> |
| X-Mailer: | PMMail 2000 Professional (2.10.2010) For Windows NT (4.0.1381;6) |
| MIME-Version: | 1.0 |
| Subject: | Re: Net version 1.1.0: gcc 2.95.2-2 compiler bug |
Hello,
concerning the following problem:
> On Mon, Jul 10, 2000 at 01:42:35PM -1000, Jim Heasley wrote:
> >In porting some astronomical data handling software from linux/unix to
> >Cygwin (the latest nework release, 1.1.0 I believe), I discovered an
> >error in how gcc 2.95.2-2 generates output of a floating or double
> >variable set to 0.0 when formatted with a %E format. I didn't get any
> >hits on this problem in the FAQ or mail lists. The following little
> >test program illustrates the problem:
>
> To investigate this problem, please check out the 'newlib' part of the
> cygwin package. That's where things like printf are implemented.
>
> cgf
Please see the earlier discussions about that problem in
this mailing list:
- cygwin-1.1.2: printf("%e") broken
http://sources.redhat.com/ml/cygwin/2000-06/msg00358.html
- Latest gcc/cygwin - bug in %e format specifier?
http://sources.redhat.com/ml/cygwin/2000-06/msg00730.html
- Re: Latest gcc/cygwin - bug in %e format specifier?
http://sources.redhat.com/ml/cygwin/2000-06/msg00745.html
The last reference has a fix in vfprintf.c:
2000-06-15 DJ Delorie <dj AT cygnus DOT com>
* libc/stdio/vfprintf.c: pad 0.0 correctly with %e
Ulrich
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |