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:
Abdullah Tahiri
2018-11-16 14:35:54 +01:00
committed by wmayer
parent af7d75c43f
commit ff0b5a288f

View File

@@ -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);
}