10#ifndef MCRL2_UTILITY_POWER_OF_TWO_H_
11#define MCRL2_UTILITY_POWER_OF_TWO_H_
25 typename std::enable_if<std::is_integral<T>::value>::type* =
nullptr>
29 return value != 0 && (value & (value - 1)) == 0;
34 typename std::enable_if<std::is_integral<T>::value>::type* =
nullptr>
47 for(T i = 1; i <
sizeof(T) * std::numeric_limits<unsigned char>::digits; i *= 2) {
static T round_up_to_power_of_two(T value)
static constexpr bool is_power_of_two(T value)
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...