[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#34661: marked as done (libc6: atof returns wildly incorrect values)



Your message dated Tue, 16 Mar 1999 22:53:19 -0500
with message-id <19990316225319.A31222@drow.res.cmu.edu>
and subject line Bug#34661: libc6: atof returns wildly incorrect values
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 16 Mar 1999 16:53:17 +0000
Received: (qmail 15100 invoked from network); 16 Mar 1999 16:53:16 -0000
Received: from gamera.psy.cmu.edu (128.2.249.232)
  by master.debian.org with SMTP; 16 Mar 1999 16:53:16 -0000
Received: from gobbel by gamera.psy.cmu.edu with local (Exim 2.11 #1 (Debian))
	id 10DdJN-0001Ft-00; Thu, 18 Feb 1999 18:56:53 -0500
From:  <gobbel@andrew.cmu.edu>
Subject: libc6: atof returns wildly incorrect values
To: submit@bugs.debian.org
X-Mailer: bug 3.1.7
Message-Id: <[🔎] E10DdJN-0001Ft-00@gamera.psy.cmu.edu>
Date: Thu, 18 Feb 1999 18:56:53 -0500

Package: libc6
Version: 2.0.100-2

doubletest.c:
------------------
#include <stdio.h>
#include <stdarg.h>
main(){
  double foo = atof("1.0");
  double bar = 1.0;
        printf("foo = %f, bar = %f\n", foo, bar);
}
------------------

gamera:~/src> cc -o doubletest doubletest.c
gamera:~/src> doubletest
foo = 2147482352.000000, bar = 1.000000

gcc version (egcs) is 2.91.60-5.  This is on PowerPC and is probably broken on
this platform only.

-Randy

-- System Information
Debian Release: 2.1
Kernel Version: Linux gamera 2.2.0-pre6 #6 Sat Jan 23 14:45:06 EST 1999 ppc unknown

Versions of the packages libc6 depends on:
ii  sysvinit        2.76-3         System-V like init.
ii  ldso            1.9.10-1       The Linux dynamic linker, library and utilit


Reply to: