/[escript]/trunk/escript/src/Data.cpp
ViewVC logotype

Diff of /trunk/escript/src/Data.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1026 by phornby, Tue Mar 13 08:25:00 2007 UTC revision 1028 by gross, Wed Mar 14 00:15:24 2007 UTC
# Line 1123  Data::erf() const Line 1123  Data::erf() const
1123  #if defined DOPROF  #if defined DOPROF
1124    profData->unary++;    profData->unary++;
1125  #endif  #endif
1126  #ifndef _WIN32  #ifdef _WIN32
1127    return escript::unaryOp(*this,(Data::UnaryDFunPtr)::erf);    throw DataException("Error - Data:: erf function is not supported on _WIN32 platforms.");
1128  #else  #else
1129    return Data();    return escript::unaryOp(*this,(Data::UnaryDFunPtr)::erf);
1130  #endif  #endif
1131  }  }
1132    
# Line 1136  Data::asinh() const Line 1136  Data::asinh() const
1136  #if defined DOPROF  #if defined DOPROF
1137    profData->unary++;    profData->unary++;
1138  #endif  #endif
1139  #ifndef _WIN32  #ifdef _WIN32
1140    return escript::unaryOp(*this,(Data::UnaryDFunPtr)::asinh);    return escript::unaryOp(*this,escript::asinh_substitute);
1141  #else  #else
1142    return Data();    return escript::unaryOp(*this,(Data::UnaryDFunPtr)::asinh);
1143  #endif  #endif
1144  }  }
1145    
# Line 1149  Data::acosh() const Line 1149  Data::acosh() const
1149  #if defined DOPROF  #if defined DOPROF
1150    profData->unary++;    profData->unary++;
1151  #endif  #endif
1152  #ifndef _WIN32  #ifdef _WIN32
1153    return escript::unaryOp(*this,(Data::UnaryDFunPtr)::acosh);    return escript::unaryOp(*this,escript::acosh_substitute);
1154  #else  #else
1155    return Data();    return escript::unaryOp(*this,(Data::UnaryDFunPtr)::acosh);
1156  #endif  #endif
1157  }  }
1158    
# Line 1162  Data::atanh() const Line 1162  Data::atanh() const
1162  #if defined DOPROF  #if defined DOPROF
1163    profData->unary++;    profData->unary++;
1164  #endif  #endif
1165  #ifndef _WIN32  #ifdef _WIN32
1166    return escript::unaryOp(*this,(Data::UnaryDFunPtr)::atanh);    return escript::unaryOp(*this,escript::atanh_substitute);
1167  #else  #else
1168    return Data();    return escript::unaryOp(*this,(Data::UnaryDFunPtr)::atanh);
1169  #endif  #endif
1170  }  }
1171    

Legend:
Removed from v.1026  
changed lines
  Added in v.1028

  ViewVC Help
Powered by ViewVC 1.1.26