Changeset 2436 for trunk/psLib/test/dataManip/tst_psMinimize04_F32.c
- Timestamp:
- Nov 24, 2004, 12:14:39 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/dataManip/tst_psMinimize04_F32.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/tst_psMinimize04_F32.c
r2392 r2436 70 70 for (i=0;i<NUM_DATA;i++) { 71 71 expectData = setData(x->data.F32[i]); 72 actualData = psPolynomial1DEval(x->data.F32[i], myPoly); 72 actualData = psPolynomial1DEval( 73 myPoly, 74 x->data.F32[i] 75 ); 73 76 if (fabs(actualData-expectData) > fabs(ERROR_TOLERANCE * expectData)) { 74 77 printf("ERROR: Fitted data %d: (%.1f %.1f), expected was (%.1f)\n", … … 134 137 for (i=0;i<NUM_DATA;i++) { 135 138 expectData = setData(x->data.F32[i]); 136 actualData = psPolynomial1DEval(x->data.F32[i], myPoly); 139 actualData = psPolynomial1DEval( 140 myPoly, 141 x->data.F32[i] 142 ); 137 143 if (fabs(actualData-expectData) > fabs(ERROR_TOLERANCE * expectData)) { 138 144 printf("ERROR: Fitted data %d: (%.1f %.1f), expected was (%.1f)\n", … … 194 200 for (i=0;i<NUM_DATA;i++) { 195 201 expectData = setData((float) i); 196 actualData = psPolynomial1DEval((float) i, myPoly); 202 actualData = psPolynomial1DEval( 203 myPoly, 204 (float) i 205 ); 197 206 if (fabs(actualData-expectData) > fabs(ERROR_TOLERANCE * expectData)) { 198 207 printf("ERROR: Fitted data %d: (%.1f %.1f), expected was (%.1f)\n",
Note:
See TracChangeset
for help on using the changeset viewer.
