- Timestamp:
- Aug 18, 2009, 10:28:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r1867 r1882 287 287 int numbits = 0; 288 288 unsigned long long bitbuffer = 0; 289 if (_ura <= 2.40){ 290 _ura = 0; 291 } 292 else if (_ura <= 3.40){ 293 _ura = 1; 294 } 295 else if (_ura <= 6.85){ 296 _ura = 2; 297 } 298 else if (_ura <= 9.65){ 299 _ura = 3; 300 } 301 else if (_ura <= 13.65){ 302 _ura = 4; 303 } 304 else if (_ura <= 24.00){ 305 _ura = 5; 306 } 307 else if (_ura <= 48.00){ 308 _ura = 6; 309 } 310 else if (_ura <= 96.00){ 311 _ura = 7; 312 } 313 else if (_ura <= 192.00){ 314 _ura = 8; 315 } 316 else if (_ura <= 384.00){ 317 _ura = 9; 318 } 319 else if (_ura <= 768.00){ 320 _ura = 10; 321 } 322 else if (_ura <= 1536.00){ 323 _ura = 11; 324 } 325 else if (_ura <= 1536.00){ 326 _ura = 12; 327 } 328 else if (_ura <= 2072.00){ 329 _ura = 13; 330 } 331 else if (_ura <= 6144.00){ 332 _ura = 14; 333 } 334 else{ 335 _ura = 15; 336 } 289 337 290 338 GPSADDBITS(12, 1019)
Note:
See TracChangeset
for help on using the changeset viewer.