- Timestamp:
- Nov 1, 2006, 11:27:42 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/RTCM2.cpp
r254 r265 1101 1101 1102 1102 epochWeek = refWeek; 1103 epochSecs = secs + 3600.0*(floor((refSecs-secs)/3600.0+0.5)); 1103 1104 epochSecs = secs; 1105 while (epochSecs < refSecs - 1800) { 1106 epochSecs += 3600; 1107 } 1108 while (epochSecs > refSecs + 1800) { 1109 epochSecs -= 3600; 1110 } 1111 1112 //// epochSecs = secs + 3600.0*(floor((refSecs-secs)/3600.0+0.5)); 1104 1113 1105 1114 if (epochSecs<0 ) { epochWeek--; epochSecs+=secsPerWeek; };
Note:
See TracChangeset
for help on using the changeset viewer.