Fix build

This commit is contained in:
Green
2025-07-11 14:24:06 +03:00
parent 337847f606
commit 47a1e26ff5

View File

@ -1,4 +1,5 @@
#include "XMLReader.h" #include "XMLReader.h"
#include <cmath>
namespace HWP namespace HWP
{ {
@ -244,7 +245,7 @@ double CXMLReader::GetDoubleValue(CXMLReader& oXmlReader)
if (bExpNegative) if (bExpNegative)
nExponent = -nExponent; nExponent = -nExponent;
dResult *= pow(10., nExponent); dResult *= std::pow(10., nExponent);
} }
return bNegative ? -dResult : dResult; return bNegative ? -dResult : dResult;