IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 19, 2005, 11:37:02 AM (21 years ago)
Author:
desonia
Message:

tweaked to avoid a signed zero.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/tst_psImagePixelManip.c

    r3973 r3986  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-05-19 02:49:40 $
     8 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2005-05-19 21:37:02 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    453453    retVal = psImageClipComplexRegion(img,
    454454                                      1.0+I*1.0,
    455                                       -2.0*(double)FLT_MAX*I,
     455                                      FLT_EPSILON-2.0*(double)FLT_MAX*I,
    456456                                      5.0+5.0*I,
    457457                                      0.0);
     
    464464    retVal = psImageClipComplexRegion(img,
    465465                                      1.0+I*1.0,
    466                                       2.0*(double)FLT_MAX*I,
     466                                      FLT_EPSILON+2.0*(double)FLT_MAX*I,
    467467                                      5.0+5.0*I,
    468468                                      0.0);
     
    499499                                      0.0,
    500500                                      5.0+5.0*I,
    501                                       -2.0*(double)FLT_MAX*I);
     501                                      FLT_EPSILON-2.0*(double)FLT_MAX*I);
    502502    if (retVal != 0) {
    503503        psError(PS_ERR_UNKNOWN, true,"Expected zero return for vmax not in datatype range.");
     
    510510                                      0.0,
    511511                                      5.0+5.0*I,
    512                                       2.0*(double)FLT_MAX*I);
     512                                      FLT_EPSILON+2.0*(double)FLT_MAX*I);
    513513    if (retVal != 0) {
    514514        psError(PS_ERR_UNKNOWN, true,"Expected zero return for vmax not in datatype range.");
Note: See TracChangeset for help on using the changeset viewer.