aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/Foundation/src/FPEnvironment_WIN32.cpp
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/poco/Foundation/src/FPEnvironment_WIN32.cpp
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/poco/Foundation/src/FPEnvironment_WIN32.cpp')
-rw-r--r--contrib/libs/poco/Foundation/src/FPEnvironment_WIN32.cpp152
1 files changed, 76 insertions, 76 deletions
diff --git a/contrib/libs/poco/Foundation/src/FPEnvironment_WIN32.cpp b/contrib/libs/poco/Foundation/src/FPEnvironment_WIN32.cpp
index efd65c23c9..32c7f65e7b 100644
--- a/contrib/libs/poco/Foundation/src/FPEnvironment_WIN32.cpp
+++ b/contrib/libs/poco/Foundation/src/FPEnvironment_WIN32.cpp
@@ -1,76 +1,76 @@
-//
-// FPEnvironment_WIN32.cpp
-//
-// Library: Foundation
-// Package: Core
-// Module: FPEnvironment
-//
-// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
-// and Contributors.
-//
-// SPDX-License-Identifier: BSL-1.0
-//
-
-
-#include "Poco/FPEnvironment_WIN32.h"
-
-
-namespace Poco {
-
-
-FPEnvironmentImpl::FPEnvironmentImpl()
-{
- _env = _controlfp(0, 0);
-}
-
-
-FPEnvironmentImpl::FPEnvironmentImpl(const FPEnvironmentImpl& env)
-{
- _env = env._env;
-}
-
-
-FPEnvironmentImpl::~FPEnvironmentImpl()
-{
- _controlfp(_env, _MCW_RC);
-}
-
-
-FPEnvironmentImpl& FPEnvironmentImpl::operator = (const FPEnvironmentImpl& env)
-{
- _env = env._env;
- return *this;
-}
-
-
-void FPEnvironmentImpl::keepCurrentImpl()
-{
- _env = _controlfp(0, 0);
-}
-
-
-void FPEnvironmentImpl::clearFlagsImpl()
-{
- _clearfp();
-}
-
-
-bool FPEnvironmentImpl::isFlagImpl(FlagImpl flag)
-{
- return (_statusfp() & flag) != 0;
-}
-
-
-void FPEnvironmentImpl::setRoundingModeImpl(RoundingModeImpl mode)
-{
- _controlfp(mode, _MCW_RC);
-}
-
-
-FPEnvironmentImpl::RoundingModeImpl FPEnvironmentImpl::getRoundingModeImpl()
-{
- return RoundingModeImpl(_controlfp(0, 0) & _MCW_RC);
-}
-
-
-} // namespace Poco
+//
+// FPEnvironment_WIN32.cpp
+//
+// Library: Foundation
+// Package: Core
+// Module: FPEnvironment
+//
+// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
+// and Contributors.
+//
+// SPDX-License-Identifier: BSL-1.0
+//
+
+
+#include "Poco/FPEnvironment_WIN32.h"
+
+
+namespace Poco {
+
+
+FPEnvironmentImpl::FPEnvironmentImpl()
+{
+ _env = _controlfp(0, 0);
+}
+
+
+FPEnvironmentImpl::FPEnvironmentImpl(const FPEnvironmentImpl& env)
+{
+ _env = env._env;
+}
+
+
+FPEnvironmentImpl::~FPEnvironmentImpl()
+{
+ _controlfp(_env, _MCW_RC);
+}
+
+
+FPEnvironmentImpl& FPEnvironmentImpl::operator = (const FPEnvironmentImpl& env)
+{
+ _env = env._env;
+ return *this;
+}
+
+
+void FPEnvironmentImpl::keepCurrentImpl()
+{
+ _env = _controlfp(0, 0);
+}
+
+
+void FPEnvironmentImpl::clearFlagsImpl()
+{
+ _clearfp();
+}
+
+
+bool FPEnvironmentImpl::isFlagImpl(FlagImpl flag)
+{
+ return (_statusfp() & flag) != 0;
+}
+
+
+void FPEnvironmentImpl::setRoundingModeImpl(RoundingModeImpl mode)
+{
+ _controlfp(mode, _MCW_RC);
+}
+
+
+FPEnvironmentImpl::RoundingModeImpl FPEnvironmentImpl::getRoundingModeImpl()
+{
+ return RoundingModeImpl(_controlfp(0, 0) & _MCW_RC);
+}
+
+
+} // namespace Poco