ZipStream: Change precision from 12 to 16 decimals
================================================== Fixes: https://forum.freecadweb.org/viewtopic.php?f=3&t=32212&start=10#p269080
This commit is contained in:
@@ -248,7 +248,7 @@ ZipWriter::ZipWriter(const char* FileName)
|
||||
//FIXME: Check whether this is correct
|
||||
ZipStream.imbue(std::locale::classic());
|
||||
#endif
|
||||
ZipStream.precision(12);
|
||||
ZipStream.precision(16);
|
||||
ZipStream.setf(ios::fixed,ios::floatfield);
|
||||
}
|
||||
|
||||
@@ -261,7 +261,7 @@ ZipWriter::ZipWriter(std::ostream& os)
|
||||
//FIXME: Check whether this is correct
|
||||
ZipStream.imbue(std::locale::classic());
|
||||
#endif
|
||||
ZipStream.precision(12);
|
||||
ZipStream.precision(16);
|
||||
ZipStream.setf(ios::fixed,ios::floatfield);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user