VirtualBox

Changeset 18967 in vbox


Ignore:
Timestamp:
Apr 16, 2009 9:25:03 PM (16 years ago)
Author:
vboxsync
Message:

rem/softfloat-native.c: mark our changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler_new/fpu/softfloat-native.c

    r18922 r18967  
    3232#define rintf(f)                ((float)rint(f))
    3333/* Some defines which only apply to *BSD */
    34 # if defined(_BSD)
     34# if defined(VBOX) && defined(_BSD)
    3535#  define lrintl(f)            ((int32_t)rint(f))
    3636#  define llrintl(f)           ((int64_t)rint(f))
     
    3838#  define sqrtl(f)             (sqrt(f))
    3939#  define remainderl(fa, fb)   (remainder(fa, fb))
    40 # endif
     40# endif /* VBOX */
    4141#endif
    4242
     
    4949    if (fabs(x) >= y)
    5050        return x;
    51     if (x < 0) 
     51    if (x < 0)
    5252        y = -y;
    5353    y = (x + y) - y;
     
    111111#endif /* VBOX */
    112112{
    113     if (a != (int32_t)a) 
     113    if (a != (int32_t)a)
    114114        a = 0x80000000;
    115115    return a;
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