#include "storm/big/Ops.hpp" uint32_t ExtractLowPart(uint64_t& value) { auto low = static_cast(value); value >>= 32; return low; } uint32_t ExtractLowPartSx(uint64_t& value) { auto low = static_cast(value); value >>= 32; if (value >= 0x80000000) { reinterpret_cast(&value)[0] = value; reinterpret_cast(&value)[1] = -1; } return low; } uint64_t MakeLarge(uint32_t low, uint32_t high) { return low + (static_cast(high) << 32); }