IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7761


Ignore:
Timestamp:
Jun 29, 2006, 3:03:53 PM (20 years ago)
Author:
Paul Price
Message:

Removing conversion macros --- use psVectorCopy for this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psConstants.h

    r7375 r7761  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.88 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-06-07 01:22:12 $
     8 *  @version $Revision: 1.89 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-06-30 01:03:53 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    341341}
    342342
    343 #define PS_VECTOR_F64_TO_F32(X64, X32) \
    344 psVector *X32 = psVectorAlloc(X64->n, PS_TYPE_F32); \
    345 for (int i=0;i<X64->n;i++) { \
    346     X32->data.F32[i] = (float) X64->data.F64[i]; \
    347 } \
    348 
    349 #define PS_VECTOR_F32_TO_F64(X32, X64) \
    350 psVector *X64 = psVectorAlloc(X32->n, PS_TYPE_F64); \
    351 for (int i=0;i<X32->n;i++) { \
    352     X64->data.F64[i] = (float) X32->data.F32[i]; \
    353 } \
    354 
    355343#define PS_VECTOR_PRINT_F32(NAME) \
    356344if (NAME != NULL) { \
Note: See TracChangeset for help on using the changeset viewer.