mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix build
This commit is contained in:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user