Changeset 7761
- Timestamp:
- Jun 29, 2006, 3:03:53 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psConstants.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psConstants.h
r7375 r7761 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.8 8$ $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 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 341 341 } 342 342 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 355 343 #define PS_VECTOR_PRINT_F32(NAME) \ 356 344 if (NAME != NULL) { \
Note:
See TracChangeset
for help on using the changeset viewer.
