#ifndef STORM_UTILITY_CONSTANTS_H_ #define STORM_UTILITY_CONSTANTS_H_ #ifdef max # undef max #endif #ifdef min # undef min #endif #include #include namespace storm { // Forward-declare MatrixEntry class. namespace storage { template class MatrixEntry; } namespace utility { template ValueType one(); template ValueType zero(); template ValueType infinity(); template bool isOne(ValueType const& a); template bool isZero(ValueType const& a); template bool isConstant(ValueType const& a); template bool isInfinity(ValueType const& a); template ValueType pow(ValueType const& value, uint_fast64_t exponent); template ValueType simplify(ValueType value); template storm::storage::MatrixEntry& simplify(storm::storage::MatrixEntry& matrixEntry); template storm::storage::MatrixEntry&& simplify(storm::storage::MatrixEntry&& matrixEntry); template TargetType convertNumber(SourceType const& number); } } #endif /* STORM_UTILITY_CONSTANTS_H_ */