IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 6, 2006, 12:27:20 PM (20 years ago)
Author:
desonia
Message:

reduced the precision of printing of float values to mitigate machine
differences between types of processors.

-rdd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tst_psMinimizePowell.c

    r6280 r6332  
    108108
    109109    for (i=0;i<NUM_PARAMS;i++) {
    110         printf("Parameter %d at the minimum is %f (expected: %f)\n", i,
     110        printf("Parameter %d at the minimum is %.1f (expected: %.1f)\n", i,
    111111               myParams->data.F32[i], expectedParm[i]);
    112112
     
    181181
    182182    for (i=0;i<NUM_PARAMS;i++) {
    183         printf("Parameter %d at the minimum is %f (expected: %f)\n", i,
     183        printf("Parameter %d at the minimum is %.1f (expected: %.1f)\n", i,
    184184               myParams->data.F32[i], expectedParm[i]);
    185185
Note: See TracChangeset for help on using the changeset viewer.