Changeset 926 in ntrip for trunk/BNS/bnseph.cpp
- Timestamp:
- May 25, 2008, 12:17:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r918 r926 388 388 } 389 389 390 // Glonass IOD 391 //////////////////////////////////////////////////////////////////////////// 392 int t_ephGlo::IOD() const { 393 //// return int(fmod(_GPSweeks,86400.0)) / 600; 394 unsigned int tb = int(fmod(_GPSweeks,86400.0)) * 1000; // msec of day 395 396 // 5 LSBs of iod are equal to 5 LSBs of tb, remaining bits are zero 397 unsigned int iod = tb << 3; 398 return (iod >> 3); 399 }
Note:
See TracChangeset
for help on using the changeset viewer.