Index: trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic02.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic02.c	(revision 3162)
+++ trunk/psLib/test/dataManip/tst_psMatrixVectorArithmetic02.c	(revision 3232)
@@ -10,6 +10,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-11-22 21:02:51 $
+ *  @version $Revision: 1.10 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2005-02-16 00:22:05 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -131,8 +131,8 @@
     testUnaryOpM( log, F64, 1000.0, 0.0, 3, 2, 3 );
     testUnaryOpM( log, C32, 1000.0 + 0.0i, 0.0 + 0.0i, 3, 2, 3 );
-    testUnaryOpM( sin, S32, M_PI_2, 0, 3, 2, 1 );
-    testUnaryOpM( sin, F32, M_PI_2, 0.0, 3, 2, 1.0 );
-    testUnaryOpM( sin, F64, M_PI_2, 0.0, 3, 2, 1.0 );
-    testUnaryOpM( sin, C32, M_PI_2 + 0.0i, 0.0 + 0.0i, 3, 2, 1.0 );
+    testUnaryOpM( sin, S32, PS_PI_2, 0, 3, 2, 1 );
+    testUnaryOpM( sin, F32, PS_PI_2, 0.0, 3, 2, 1.0 );
+    testUnaryOpM( sin, F64, PS_PI_2, 0.0, 3, 2, 1.0 );
+    testUnaryOpM( sin, C32, PS_PI_2 + 0.0i, 0.0 + 0.0i, 3, 2, 1.0 );
     testUnaryOpM( dsin, S32, 90, 0, 3, 2 , 1);
     testUnaryOpM( dsin, F32, 90.0, 0.0, 3, 2, 1.0 );
@@ -147,32 +147,32 @@
     testUnaryOpM( dcos, F64, 0.0, 0.0, 3, 2, 1.0 );
     testUnaryOpM( dcos, C32, 0.0 + 0.0i, 0.0 + 0.0i, 3, 2, 1.0 );
-    testUnaryOpM( tan, S32, M_PI_4, 0, 3, 2, 1);
-    testUnaryOpM( tan, F32, M_PI_4, 0.0, 3, 2, 1.0 );
-    testUnaryOpM( tan, F64, M_PI_4, 0.0, 3, 2, 1.0 );
-    testUnaryOpM( tan, C32, M_PI_4 + 0.0i, 0.0 + 0.0i, 3, 2, 1 );
+    testUnaryOpM( tan, S32, PS_PI_4, 0, 3, 2, 1);
+    testUnaryOpM( tan, F32, PS_PI_4, 0.0, 3, 2, 1.0 );
+    testUnaryOpM( tan, F64, PS_PI_4, 0.0, 3, 2, 1.0 );
+    testUnaryOpM( tan, C32, PS_PI_4 + 0.0i, 0.0 + 0.0i, 3, 2, 1 );
     testUnaryOpM( dtan, S32, 45, 0, 3, 2, 1 );
     testUnaryOpM( dtan, F32, 45.0, 0.0, 3, 2, 1.0 );
     testUnaryOpM( dtan, F64, 45.0, 0.0, 3, 2, 1.0 );
     testUnaryOpM( dtan, C32, 45.0 + 45.0i, 0.0 + 0.0i, 3, 2, 1.0 );
-    testUnaryOpM( asin, S32, 1, 0, 3, 2, M_PI_2);
-    testUnaryOpM( asin, F32, 1.0, 0.0, 3, 2, M_PI_2  );
-    testUnaryOpM( asin, F64, 1.0, 0.0, 3, 2, M_PI_2);
-    testUnaryOpM( asin, C32, 1.0 + 1.0i, 0.0 + 0.0i, 3, 2, M_PI_2);
+    testUnaryOpM( asin, S32, 1, 0, 3, 2, PS_PI_2);
+    testUnaryOpM( asin, F32, 1.0, 0.0, 3, 2, PS_PI_2  );
+    testUnaryOpM( asin, F64, 1.0, 0.0, 3, 2, PS_PI_2);
+    testUnaryOpM( asin, C32, 1.0 + 1.0i, 0.0 + 0.0i, 3, 2, PS_PI_2);
     testUnaryOpM( dasin, S32, 1.0, 0, 3, 2, 90 );
     testUnaryOpM( dasin, F32, 1.0, 0.0, 3, 2, 90.0 );
     testUnaryOpM( dasin, F64, 1.0, 0.0, 3, 2, 90.0 );
     testUnaryOpM( dasin, C32, 1.0 + 1.0i, 0.0 + 0.0i, 3, 2, 90.0 );
-    testUnaryOpM( acos, S32, 0, 0, 3, 2, M_PI_2);
-    testUnaryOpM( acos, F32, 0.0, 0.0, 3, 2, M_PI_2 );
-    testUnaryOpM( acos, F64, 0.0, 0.0, 3, 2, M_PI_2 );
-    testUnaryOpM( acos, C32, 0.0 + 0.0i, 0.0 + 0.0i, 3, 2, M_PI_2 );
+    testUnaryOpM( acos, S32, 0, 0, 3, 2, PS_PI_2);
+    testUnaryOpM( acos, F32, 0.0, 0.0, 3, 2, PS_PI_2 );
+    testUnaryOpM( acos, F64, 0.0, 0.0, 3, 2, PS_PI_2 );
+    testUnaryOpM( acos, C32, 0.0 + 0.0i, 0.0 + 0.0i, 3, 2, PS_PI_2 );
     testUnaryOpM( dacos, S32, 0, 0, 3, 2, 90 );
     testUnaryOpM( dacos, F32, 0.0, 0.0, 3, 2, 90.0 );
     testUnaryOpM( dacos, F64, 0.0, 0.0, 3, 2, 90.0 );
     testUnaryOpM( dacos, C32, 0.0 + 0.0i, 0.0 + 0.0i, 3, 2, 90.0 );
-    testUnaryOpM( atan, S32, 1, 0, 3, 2, M_PI_4);
-    testUnaryOpM( atan, F32, 1.0, 0.0, 3, 2, M_PI_4 );
-    testUnaryOpM( atan, F64, 1.0, 0.0, 3, 2, M_PI_4);
-    testUnaryOpM( atan, C32, 1.0 + 0.0i, 0.0 + 0.0i, 3, 2, M_PI_4);
+    testUnaryOpM( atan, S32, 1, 0, 3, 2, PS_PI_4);
+    testUnaryOpM( atan, F32, 1.0, 0.0, 3, 2, PS_PI_4 );
+    testUnaryOpM( atan, F64, 1.0, 0.0, 3, 2, PS_PI_4);
+    testUnaryOpM( atan, C32, 1.0 + 0.0i, 0.0 + 0.0i, 3, 2, PS_PI_4);
     testUnaryOpM( datan, S32, 1, 0, 3, 2, 45 );
     testUnaryOpM( datan, F32, 1.0, 0.0, 3, 2, 45.0 );
@@ -216,8 +216,8 @@
     testUnaryOpV( log, F64, 1000.0, 0.0, 3, 3 );
     testUnaryOpV( log, C32, 1000.0 + 0.0i, 0.0 + 0.0i, 3, 3 );
-    testUnaryOpV( sin, S32, M_PI_2, 0, 3, 1 );
-    testUnaryOpV( sin, F32, M_PI_2, 0.0, 3, 1.0 );
-    testUnaryOpV( sin, F64, M_PI_2, 0.0, 3, 1.0 );
-    testUnaryOpV( sin, C32, M_PI_2 + 0.0i, 0.0 + 0.0i, 3, 1.0 );
+    testUnaryOpV( sin, S32, PS_PI_2, 0, 3, 1 );
+    testUnaryOpV( sin, F32, PS_PI_2, 0.0, 3, 1.0 );
+    testUnaryOpV( sin, F64, PS_PI_2, 0.0, 3, 1.0 );
+    testUnaryOpV( sin, C32, PS_PI_2 + 0.0i, 0.0 + 0.0i, 3, 1.0 );
     testUnaryOpV( dsin, S32, 90, 0, 3, 1);
     testUnaryOpV( dsin, F32, 90.0, 0.0, 3, 1.0 );
@@ -232,32 +232,32 @@
     testUnaryOpV( dcos, F64, 0.0, 0.0, 3, 1.0 );
     testUnaryOpV( dcos, C32, 0.0 + 0.0i, 0.0 + 0.0i, 3, 1.0 );
-    testUnaryOpV( tan, S32, M_PI_4, 0, 3, 1);
-    testUnaryOpV( tan, F32, M_PI_4, 0.0, 3, 1.0 );
-    testUnaryOpV( tan, F64, M_PI_4, 0.0, 3, 1.0 );
-    testUnaryOpV( tan, C32, M_PI_4 + 0.0i, 0.0 + 0.0i, 3, 1 );
+    testUnaryOpV( tan, S32, PS_PI_4, 0, 3, 1);
+    testUnaryOpV( tan, F32, PS_PI_4, 0.0, 3, 1.0 );
+    testUnaryOpV( tan, F64, PS_PI_4, 0.0, 3, 1.0 );
+    testUnaryOpV( tan, C32, PS_PI_4 + 0.0i, 0.0 + 0.0i, 3, 1 );
     testUnaryOpV( dtan, S32, 45, 0, 3, 1 );
     testUnaryOpV( dtan, F32, 45.0, 0.0, 3, 1.0 );
     testUnaryOpV( dtan, F64, 45.0, 0.0, 3, 1.0 );
     testUnaryOpV( dtan, C32, 45.0 + 45.0i, 0.0 + 0.0i, 3, 1.0 );
-    testUnaryOpV( asin, S32, 1, 0, 3, M_PI_2);
-    testUnaryOpV( asin, F32, 1.0, 0.0, 3, M_PI_2  );
-    testUnaryOpV( asin, F64, 1.0, 0.0, 3, M_PI_2);
-    testUnaryOpV( asin, C32, 1.0 + 1.0i, 0.0 + 0.0i, 3, M_PI_2);
+    testUnaryOpV( asin, S32, 1, 0, 3, PS_PI_2);
+    testUnaryOpV( asin, F32, 1.0, 0.0, 3, PS_PI_2  );
+    testUnaryOpV( asin, F64, 1.0, 0.0, 3, PS_PI_2);
+    testUnaryOpV( asin, C32, 1.0 + 1.0i, 0.0 + 0.0i, 3, PS_PI_2);
     testUnaryOpV( dasin, S32, 1.0, 0, 3, 90 );
     testUnaryOpV( dasin, F32, 1.0, 0.0, 3, 90.0 );
     testUnaryOpV( dasin, F64, 1.0, 0.0, 3, 90.0 );
     testUnaryOpV( dasin, C32, 1.0 + 1.0i, 0.0 + 0.0i, 3, 90.0 );
-    testUnaryOpV( acos, S32, 0, 0, 3, M_PI_2);
-    testUnaryOpV( acos, F32, 0.0, 0.0, 3, M_PI_2 );
-    testUnaryOpV( acos, F64, 0.0, 0.0, 3, M_PI_2 );
-    testUnaryOpV( acos, C32, 0.0 + 0.0i, 0.0 + 0.0i, 3, M_PI_2 );
+    testUnaryOpV( acos, S32, 0, 0, 3, PS_PI_2);
+    testUnaryOpV( acos, F32, 0.0, 0.0, 3, PS_PI_2 );
+    testUnaryOpV( acos, F64, 0.0, 0.0, 3, PS_PI_2 );
+    testUnaryOpV( acos, C32, 0.0 + 0.0i, 0.0 + 0.0i, 3, PS_PI_2 );
     testUnaryOpV( dacos, S32, 0, 0, 3, 90 );
     testUnaryOpV( dacos, F32, 0.0, 0.0, 3, 90.0 );
     testUnaryOpV( dacos, F64, 0.0, 0.0, 3, 90.0 );
     testUnaryOpV( dacos, C32, 0.0 + 0.0i, 0.0 + 0.0i, 3, 90.0 );
-    testUnaryOpV( atan, S32, 1, 0, 3, M_PI_4);
-    testUnaryOpV( atan, F32, 1.0, 0.0, 3, M_PI_4 );
-    testUnaryOpV( atan, F64, 1.0, 0.0, 3, M_PI_4);
-    testUnaryOpV( atan, C32, 1.0 + 0.0i, 0.0 + 0.0i, 3, M_PI_4);
+    testUnaryOpV( atan, S32, 1, 0, 3, PS_PI_4);
+    testUnaryOpV( atan, F32, 1.0, 0.0, 3, PS_PI_4 );
+    testUnaryOpV( atan, F64, 1.0, 0.0, 3, PS_PI_4);
+    testUnaryOpV( atan, C32, 1.0 + 0.0i, 0.0 + 0.0i, 3, PS_PI_4);
     testUnaryOpV( datan, S32, 1, 0, 3, 45 );
     testUnaryOpV( datan, F32, 1.0, 0.0, 3, 45.0 );
Index: trunk/psLib/test/dataManip/tst_psVectorFFT.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psVectorFFT.c	(revision 3162)
+++ trunk/psLib/test/dataManip/tst_psVectorFFT.c	(revision 3232)
@@ -6,6 +6,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-13 21:25:44 $
+*  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-02-16 00:22:05 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -68,5 +68,5 @@
     vec->n = vec->nalloc;
     for ( psU32 n = 0; n < 100; n++ ) {
-        vec->data.F32[ n ] = sinf( ( psF32 ) n / 50.0f * M_PI );
+        vec->data.F32[ n ] = sinf( ( psF32 ) n / 50.0f * PS_PI );
     }
 
@@ -111,5 +111,5 @@
     }
     for ( psU32 n = 0; n < 100; n++ ) {
-        psF32 val = sinf( ( psF32 ) n / 50.0f * M_PI );
+        psF32 val = sinf( ( psF32 ) n / 50.0f * PS_PI );
         psF32 vecVal = crealf( vec3->data.C32[ n ] ) / 100;
         if ( fabsf( vecVal - val ) > 0.1f ) {
@@ -548,6 +548,6 @@
     vec3->n = vec3->nalloc;
     for ( psU32 n = 0; n < 100; n++ ) {
-        vec->data.C32[ n ] = n + I * sinf( ( ( psF32 ) n ) / 50.f * M_PI );
-        vec3->data.C64[ n ] = n + I * sinf( ( ( psF64 ) n ) / 50.f * M_PI );
+        vec->data.C32[ n ] = n + I * sinf( ( ( psF32 ) n ) / 50.f * PS_PI );
+        vec3->data.C64[ n ] = n + I * sinf( ( ( psF64 ) n ) / 50.f * PS_PI );
     }
 
