Changeset 910


Ignore:
Timestamp:
Sep 7, 2011, 7:16:47 PM (12 years ago)
Author:
sam
Message:

core: fix a bug on the PS3 version of lol_sin().

Location:
trunk
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/trig.cpp

    r908 r910  
    292292#endif
    293293
     294#if !defined __CELLOS_LV2__
     295    sign *= (x >= 0.0) ? PI : NEG_PI;
     296#endif
     297
    294298    /* Compute a Tailor series for sin() and combine sign information. */
    295     sign *= (x >= 0.0) ? PI : NEG_PI;
    296 
    297299    double x2 = absx * absx;
    298300    double x4 = x2 * x2;
Note: See TracChangeset for help on using the changeset viewer.