Changeset 1469 in Sophya for trunk/SophyaPI/PIext/cxxexecutor.cc


Ignore:
Timestamp:
Apr 18, 2001, 11:05:13 AM (24 years ago)
Author:
cmv
Message:

BitCmp64(double,long long) cmv 18/4/01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/cxxexecutor.cc

    r1450 r1469  
    366366    os<<"#include \""<<mIncImportList[i]<<"\""<<endl;
    367367os<<endl;
     368
     369os<<"//---- function to compare bits on double \n"
     370  <<"int_8 BitCmp64(double v,int_8 flg) \n"
     371  <<"{return ((int_8)((v<0.) ? v-0.1 : v+0.1))&flg;} \n"
     372  <<endl;
    368373
    369374os<<"//---- function for Adding and displaying Objects  " << endl;
Note: See TracChangeset for help on using the changeset viewer.