Changeset 5091 for trunk/psLib/test/math/tst_psFunc00.c
- Timestamp:
- Sep 21, 2005, 5:00:31 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/math/tst_psFunc00.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/math/tst_psFunc00.c
r5090 r5091 14 14 * orders are created. 15 15 * 16 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 17 * @date $Date: 2005-09-22 02:47:16 $ 16 * XXX: Compare to FLT_EPSILON 17 * 18 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 19 * @date $Date: 2005-09-22 03:00:31 $ 18 20 * 19 21 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 131 133 return 4; 132 134 } 135 133 136 for(psS32 i = 0; i < ORDER+1; i++) { 134 137 for(psS32 j = 0; j < ORDER+2; j++) { 135 if( my2DPoly->coeff[i][j] != 0.0) {138 if(fabs(my2DPoly->coeff[i][j]) > FLT_EPSILON) { 136 139 psError(PS_ERR_UNKNOWN,true,"Coeff[%d][%d] %lg not as expected %lg", 137 140 i, j, my2DPoly->coeff[i][j], 0.0);
Note:
See TracChangeset
for help on using the changeset viewer.
