Changeset 10546 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Sep 25, 2024, 5:08:35 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/bits.h
r10534 r10546 220 220 ////////////////////////////////////////////////////////// 221 221 #define SBASTOINT(type, value) static_cast<type>(round(value)) 222 222 223 #define SBASADDBITS(a, b) {bitbuffer = (bitbuffer<<(a)) \ 223 224 |(SBASTOINT(long long,b)&((1ULL<<a)-1)); \ … … 225 226 while(numbits >= 8) { \ 226 227 buffer[size++] = bitbuffer>>(numbits-8);numbits -= 8;}} 228 227 229 #define SBASADDBITSFLOAT(a,b,c) {long long i = SBASTOINT(long long,(b)/(c)); \ 228 230 SBASADDBITS(a,i)};
Note:
See TracChangeset
for help on using the changeset viewer.