Date: Sat, 26 May 2007 12:31:28 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: freebsd-current@freebsd.org Subject: HEADS-UP: gcc-4.2 import appears to miscompile libm. Message-ID: <20070526193128.GB54875@troutmask.apl.washington.edu>
next in thread | raw e-mail | index | archive | help
mobile:kargl[234] cat a.c #include <stdio.h> #include <math.h> int main (void) { int n; float a; a = 1.f; printf("%f\n", frexpf(a,&n)); return 0; } mobile:kargl[235] cc -o z a.c -lm mobile:kargl[236] ./z 1.000000 mobile:kargl[237] cc --version cc (GCC) 4.2.0 20070514 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. frexpf() should return a value in [1/2,1). -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070526193128.GB54875>