#pragma once #include #include #include #include "storm/utility/NumberTraits.h" namespace storm { namespace utility{ namespace kwek_mehlhorn { template std::pair findRational(IntegerType const& alpha, IntegerType const& beta, IntegerType const& gamma, IntegerType const& delta); template std::pair::IntegerType, typename NumberTraits::IntegerType> truncateToRational(ImpreciseType const& value, uint64_t precision); template std::pair::IntegerType, typename NumberTraits::IntegerType> truncateToRational(double const& value, uint64_t precision); template RationalType findRational(uint64_t precision, ImpreciseType const& value); template RationalType sharpen(uint64_t precision, ImpreciseType const& value); template void sharpen(uint64_t precision, std::vector const& input, std::vector& output); } } }