This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[niles@axp745.gsfc.nasa.gov] libc/1159: floor() function is totally broken



Hi,

anybody with an alpha that can reproduce (and fix;-) the described
problem?

Andreas



Topics:
   libc/1159: floor() function is totally broken


----------------------------------------------------------------------

Date: Sat, 12 Jun 1999 01:27:29 -0400
From: niles@axp745.gsfc.nasa.gov
To: bugs@gnu.org
Subject: libc/1159: floor() function is totally broken
Message-Id: <199906120527.BAA02581@delysid.gnu.org>


>Number:         1159
>Category:       libc
>Synopsis:       floor() function is totally broken
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    libc-gnats
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Sat Jun 12 01:30:01 EDT 1999
>Last-Modified:
>Originator:     niles@axp745.gsfc.nasa.gov
>Organization:
net
>Release:        glibc-1.1.2
>Environment:
RedHat Linux 6.0, AlphaStation 200 (21064), glibc-1.1.2
>Description:
The floor() function libm seems completely broken.  It returns random
values.  It may just be on certain processors (21064's, but not 21164's)
Using the CPML in place of the GNU libm works around the problem.
>How-To-Repeat:
#include <stdio.h>
#include <math.h>

int
main()
{
  printf("%f\n",floor(0.1));
  return 0;
}
- -----------------
%0
>Fix:
>Audit-Trail:
>Unformatted:


------------------------------

End of forward6KAGJD Digest
***************************



-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]