12#ifndef MCRL2_DATA_DETAIL_PRINT_UTILITY_H
13#define MCRL2_DATA_DETAIL_PRINT_UTILITY_H
43#ifdef MCRL2_ENABLE_MACHINENUMBERS
58 std::vector<char> double_result = result;
59 data::detail::decimal_number_multiply_by_two(double_result);
64 reconstruction_result = pos_arg;
72 else if (data::detail::vector_number_to_string(result) ==
"1")
88 if (data::detail::vector_number_to_string(result) ==
"1")
90 reconstruction_result = x;
97 return reconstruction_result;
add your file description here.
The standard sort function_update.
data_expression reconstruct_pos_mult(const data_expression &x, const std::vector< char > &result)
data::data_expression bool_to_numeric(const data::data_expression &e, const data::sort_expression &s)
bool is_false_function_symbol(const atermpp::aterm &e)
Recogniser for function false.
bool is_true_function_symbol(const atermpp::aterm &e)
Recogniser for function true.
const basic_sort & nat()
Constructor for sort expression Nat.
bool is_cdub_application(const atermpp::aterm &e)
Recogniser for application of @cDub.
bool is_c1_function_symbol(const atermpp::aterm &e)
Recogniser for function @c1.
const data_expression & right(const data_expression &e)
Function for projecting out argument. right from an application.
const basic_sort & pos()
Constructor for sort expression Pos.
const data_expression & left(const data_expression &e)
Function for projecting out argument. left from an application.
function_symbol plus(const sort_expression &s0, const sort_expression &s1)
function_symbol times(const sort_expression &s0, const sort_expression &s1)
function_symbol if_(const sort_expression &s)
Constructor for function symbol if.
void mcrl2_unused(T &&...)
Function that can be used to silence unused parameter warnings.
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Provides utilities for working with data expressions of standard sorts.
add your file description here.