Changeset 1545 for XIOS/dev/branch_openmp/src/parse_expr/operator_expr.hpp
- Timestamp:
- 06/18/18 20:32:55 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/parse_expr/operator_expr.hpp
r1482 r1545 254 254 static inline double div_ss(double x, double y) { return x / y; } 255 255 static inline double pow_ss(double x, double y) { return std::pow(x,y); } 256 256 257 static inline double eq_ss(double x, double y) // specific check for NaN 257 258 { … … 350 351 else return Array<double,1>(x == y); 351 352 } 352 353 353 static inline CArray<double,1> lt_sf(double x, const CArray<double,1>& y) { return Array<double,1>(x < y); } 354 354 static inline CArray<double,1> gt_sf(double x, const CArray<double,1>& y) { return Array<double,1>(x > y); } … … 367 367 else return Array<double,1>(x != y); 368 368 } 369 370 371 372 369 static inline double cond_sss(double x, double y, double z) { return (x==0) ? z : y ; } 373 370
Note: See TracChangeset
for help on using the changeset viewer.