IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 13, 2004, 3:31:43 PM (22 years ago)
Author:
harman
Message:

Added FLT_EPSILON to select functions to align results with that of 64 bit platform with more detail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psMatrixVectorArithmetic.c

    r1526 r1541  
    3030 *  @author Ross Harman, MHPCC
    3131 *
    32  *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
    33  *  @date $Date: 2004-08-13 01:25:23 $
     32 *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
     33 *  @date $Date: 2004-08-14 01:31:43 $
    3434 *
    3535 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    640640} else if(!strncmp(OP, "dsin", 4)) {                                                                         \
    641641    if(PS_IS_PSELEMTYPE_COMPLEX(IN->type)) {                                                                 \
    642         UNARY_TYPE(DIM,OUT,IN,csin(*i1*D2R+FLT_EPSILON));                                                    \
     642        UNARY_TYPE(DIM,OUT,IN,csin(*i1*D2R));                                                                \
    643643    } else {                                                                                                 \
    644644        UNARY_TYPE(DIM,OUT,IN,sin(*i1*D2R));                                                                 \
     
    678678        UNARY_TYPE(DIM,OUT,IN,R2D*casin(*i1));                                                               \
    679679    } else if(PS_IS_PSELEMTYPE_INT(IN->type)) {                                                              \
    680         UNARY_TYPE(DIM,OUT,IN,(R2D*asin(*i1)+FLT_EPSILON));                                                  \
     680        UNARY_TYPE(DIM,OUT,IN,(R2D*asin(*i1)));                                                              \
    681681    } else {                                                                                                 \
    682682        UNARY_TYPE(DIM,OUT,IN,(R2D*asin(*i1)));                                                              \
     
    692692        UNARY_TYPE(DIM,OUT,IN,R2D*cacos(*i1));                                                               \
    693693    } else if(PS_IS_PSELEMTYPE_INT(IN->type)) {                                                              \
    694         UNARY_TYPE(DIM,OUT,IN,(R2D*acos(*i1)+FLT_EPSILON));                                                  \
     694        UNARY_TYPE(DIM,OUT,IN,(R2D*acos(*i1)));                                                              \
    695695    } else {                                                                                                 \
    696696        UNARY_TYPE(DIM,OUT,IN,R2D*acos(*i1));                                                                \
Note: See TracChangeset for help on using the changeset viewer.