VirtualBox

Changeset 42474 in vbox for trunk/src/recompiler/Sun


Ignore:
Timestamp:
Jul 31, 2012 11:10:10 AM (12 years ago)
Author:
vboxsync
Message:

recompiler/Sun/testmath.c: be a bit more generous with the rounding. Necessary on a VIA system with gcc 4.6.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/Sun/testmath.c

    r40504 r42474  
    290290
    291291    CHECK(sinl(1.0L),  0.84147098480789650664L);
     292#if 0
    292293    lrd = 180.0L;
    293294    CHECK(sinl(lrd), -0.801152635733830477871L);
     295#else
     296    lrd = 180.0L;
     297    lrdExpect = SIN180a;
     298    lrdResult = sinl(lrd);
     299    if (lrdResult != lrdExpect)
     300    {
     301        lrdExpect = SIN180b;
     302        if (lrdResult != lrdExpect)
     303        {
     304            bitch("sinl(lrd)",  &lrdResult, &lrdExpect);
     305            cErrors++;
     306        }
     307    }
     308#endif
    294309#if 0
    295310    CHECK(sinl(180.0L), SIN180);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette