mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-21 14:44:36 +01:00
b0581433a7
fix: remove executable flag and change back to 100644 (was 100755) Signed-off-by: Roger Meier <r.meier@siemens.com>
82 lines
1.2 KiB
C++
82 lines
1.2 KiB
C++
//
|
|
// FPEnvironment_C99.cpp
|
|
//
|
|
// $Id: //poco/1.4/Foundation/src/FPEnvironment_DUMMY.cpp#1 $
|
|
//
|
|
// 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_DUMMY.h"
|
|
|
|
|
|
namespace Poco {
|
|
|
|
|
|
FPEnvironmentImpl::RoundingModeImpl FPEnvironmentImpl::_roundingMode;
|
|
|
|
|
|
FPEnvironmentImpl::FPEnvironmentImpl()
|
|
{
|
|
}
|
|
|
|
|
|
FPEnvironmentImpl::FPEnvironmentImpl(const FPEnvironmentImpl& env)
|
|
{
|
|
}
|
|
|
|
|
|
FPEnvironmentImpl::~FPEnvironmentImpl()
|
|
{
|
|
}
|
|
|
|
|
|
FPEnvironmentImpl& FPEnvironmentImpl::operator = (const FPEnvironmentImpl& env)
|
|
{
|
|
return *this;
|
|
}
|
|
|
|
|
|
void FPEnvironmentImpl::keepCurrentImpl()
|
|
{
|
|
}
|
|
|
|
|
|
void FPEnvironmentImpl::clearFlagsImpl()
|
|
{
|
|
}
|
|
|
|
|
|
bool FPEnvironmentImpl::isFlagImpl(FlagImpl flag)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
|
|
void FPEnvironmentImpl::setRoundingModeImpl(RoundingModeImpl mode)
|
|
{
|
|
_roundingMode = mode;
|
|
}
|
|
|
|
|
|
FPEnvironmentImpl::RoundingModeImpl FPEnvironmentImpl::getRoundingModeImpl()
|
|
{
|
|
return _roundingMode;
|
|
}
|
|
|
|
|
|
long double FPEnvironmentImpl::copySignImpl(long double target, long double source)
|
|
{
|
|
return (source >= 0 && target >= 0) || (source < 0 && target < 0) ? target : -target;
|
|
}
|
|
|
|
|
|
} // namespace Poco
|