Changeset 1311:6aea07d5ca48 in lemon
- Timestamp:
- 05/31/14 07:00:14 (11 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- lemon
- Files:
- 
          - 2 edited
 
 
Legend:
- Unmodified
- Added
- Removed
- 
        lemon/dim2.hr761 r1311 21 21 22 22 #include <iostream> 23 #include <algorithm> 23 24 24 25 ///\ingroup geomdat 
- 
        lemon/math.hr1270 r1311 68 68 ///Round a value to its closest integer 69 69 inline double round(double r) { 70 return (r > 0.0) ? floor(r + 0.5) :ceil(r - 0.5);70 return (r > 0.0) ? std::floor(r + 0.5) : std::ceil(r - 0.5); 71 71 } 72 72 
Note: See TracChangeset
          for help on using the changeset viewer.
      

