[gccsdk] [Bug 250] New: GCC 4.7.4 Rel 1 Dev 2014-01-08: sqrt function

bugzilla-daemon at riscos.info bugzilla-daemon at riscos.info
Tue Mar 18 07:34:43 PDT 2014


http://www.riscos.info/bugzilla3/show_bug.cgi?id=250

           Summary: GCC 4.7.4 Rel 1 Dev 2014-01-08: sqrt function
           Product: GCC/GCCSDK
           Version: other
          Platform: Other
        OS/Version: RISC OS
            Status: NEW
          Severity: normal
          Priority: P1
         Component: C compiler
        AssignedTo: John.Tytgat at aaug.net
        ReportedBy: duncan.moore at gmx.com
   Estimated Hours: 0.0


GCCSDK GCC 4.7.4 Release 1 Development 4.7.4 2014-01-08
http://www.riscos.info/downloads/gccsdk/testing/4.7.4/gccsdk-gcc-bin-4.7.4-Rel1dev.zip
SharedUnixLibrary 1.12
VirtualRPC-Adjust RISCOS 4.39

#include <stdio.h>
#include <math.h>
int main(void) {
  printf("%f\n",sqrt(2.0));
  return 0;
}

This is what I get:

*gcc sqrt.c
*a/out
1.437500

This is what I should get:
1.414214

Regards
Duncan

-- 
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.




More information about the gcc mailing list