VirtualBox

Changeset 14916 in vbox for trunk/src/recompiler_new/Sun


Ignore:
Timestamp:
Dec 2, 2008 3:41:18 PM (16 years ago)
Author:
vboxsync
Message:

fixed math related failures, auto stack alignment fixes

File:
1 edited

Legend:

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

    r14424 r14916  
    278278
    279279
    280 #ifndef RT_OS_DARWIN
    281     /** @todo: figure out why it doesn't work on MacOS */
     280    /* Only works in extended precision, while double precesion is defaul on BSD (including Darwin) */
     281    set_cw(0x37f);
    282282    CHECK(rintl(1.0L), 1.0);
    283283    CHECK(rintl(1.4L), 1.0);
     
    287287    CHECK(rint(3985.13454), 3985.0);
    288288    CHECK(rintf(9999.999), 10000.0);
    289 #endif
     289    set_cw(0x27f);
    290290
    291291    CHECK(sinl(1.0L),  0.84147098480789650664L);
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