mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-02 14:50:17 +01:00
Increase precision of floats/doubles
This commit is contained in:
@@ -92,6 +92,11 @@ public:
|
||||
return wxFileConfig::DoWriteLong(NormalizeName(key), lValue);
|
||||
}
|
||||
|
||||
virtual bool DoWriteDouble(const wxString & key, double value)
|
||||
{
|
||||
return DoWriteString(key, wxString::Format(wxT("%.12g"), value));
|
||||
}
|
||||
|
||||
bool ReadFloat(const wxString & key, float *pf) const
|
||||
{
|
||||
double d = *pf;
|
||||
|
||||
Reference in New Issue
Block a user