- Timestamp:
- Nov 11, 2009, 3:57:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r1902 r1923 698 698 int t_ephGlo::IOD() const { 699 699 700 bool old = true;700 bool old = false; 701 701 702 702 if (old) { // 5 LSBs of iod are equal to 5 LSBs of tb … … 706 706 return (iod >> shift); 707 707 } 708 else { // 7 LSBs of iod are equal to 7 LSBs of tk 709 unsigned tk = int(_tki); 710 const int shift = sizeof(tk) * 8 - 7; 711 unsigned int iod = tk << shift; 712 return (iod >> shift); 713 } 714 } 708 else { 709 return int(fmod(_tki, 3600)) / 30; 710 } 711 }
Note:
See TracChangeset
for help on using the changeset viewer.