Changeset 910
- Timestamp:
- Sep 7, 2011, 7:16:47 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/trig.cpp
r908 r910 292 292 #endif 293 293 294 #if !defined __CELLOS_LV2__ 295 sign *= (x >= 0.0) ? PI : NEG_PI; 296 #endif 297 294 298 /* Compute a Tailor series for sin() and combine sign information. */ 295 sign *= (x >= 0.0) ? PI : NEG_PI;296 297 299 double x2 = absx * absx; 298 300 double x4 = x2 * x2;
Note: See TracChangeset
for help on using the changeset viewer.