With the changes made in bug-19485, some DICOM-tags are now parsed to double using the std::stod instead of the slower stringstreams that were used before.
However, there is a difference between these two implementations:
stringstreams seem to be locale-independent, which stod definitely isn't.
The code that surrounds the parsing does not set the locale, so the developer has to make sure the correct locale is set.
This should be fixed to prevent erronously parsed dicom-tags.
Instead of reverting to the slow stringstreams, I would recommend the use of the locale-independent DCMTK implementation of atof.
As far as I can see, the results are correct and it's even faster than stod.