Changeset 11096 in ntrip for trunk/BNC/src/satObs.cpp
- Timestamp:
- Oct 16, 2026, 3:37:24 PM (3 weeks ago)
- File:
-
- 1 edited
-
trunk/BNC/src/satObs.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/satObs.cpp
r11047 r11096 3 3 #include <sstream> 4 4 #include <cstdlib> 5 #include <limits> 5 6 #include <newmatio.h> 6 7 … … 604 605 string valStr; // may be "nan" (invalid value), which operator>> can't parse 605 606 in >> valStr; 606 frqAntenna._nadirAngleCorrection.push_back(strtod(valStr.c_str(), 0)); 607 // not strtod(): it follows LC_NUMERIC, QByteArray::toDouble() the C locale 608 frqAntenna._nadirAngleCorrection.push_back(valStr.find("nan") != string::npos ? std::numeric_limits<double>::quiet_NaN() 609 : QByteArray(valStr.c_str()).toDouble()); 607 610 } 608 611 satAntenna._freq.push_back(frqAntenna);
Note:
See TracChangeset
for help on using the changeset viewer.
