-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
bugSomething isn't workingSomething isn't workingfixedSomething works now, yay!Something works now, yay!high priorityImportant!Important!
Description
Describe the bug
"1e-07" is read from std::istream as 1e-06
Command-line test case
#include <iostream>
#include <sstream>
using namespace std;
int main()
{
istringstream istr("1e-07");
double xx = 0;
istr >> xx;
cout << "xx = " << xx << endl;
return 0;
}
STL version
Visual Studio 2022 17.7
Please use Runtime Library not from DLL
Additional context
First found here: https://stackoverflow.com/q/76937234/7325599
This is also DevCom-10450662 / VSO-1876474 / AB#1876474
cpplearner and fsb4000
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfixedSomething works now, yay!Something works now, yay!high priorityImportant!Important!