Changeset 5753 in ntrip for trunk/BNC/src/bncutils.cpp


Ignore:
Timestamp:
Aug 3, 2014, 11:58:23 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncutils.cpp

    r5752 r5753  
    285285}
    286286
     287// Round to nearest integer
     288////////////////////////////////////////////////////////////////////////////
     289double nint(double val) {
     290  return ((val < 0.0) ? -floor(fabs(val)+0.5) : floor(val+0.5));
     291}
     292
    287293// Jacobian XYZ --> NEU
    288294////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.