27 #ifndef MLN_CONVERT_IMPL_FROM_INT_TO_VALUE_HH
28 # define MLN_CONVERT_IMPL_FROM_INT_TO_VALUE_HH
37 # include <mln/value/concept/integer.hh>
38 # include <mln/core/concept/value.hh>
39 # include <mln/math/round.hh>
49 void from_to_(
const int& from, Value<V>& to);
52 # ifndef MLN_INCLUDE_ONLY
65 from_int_to_value(
const int& from,
76 from_int_to_value(
const int& from,
81 mlc_abort(V)::check();
92 from_int_to_value_dispatch(
const int& from, Value<V>&
to)
94 impl::from_int_to_value(from,
exact(to));
104 template <
typename V>
106 from_to_(
const int& from, Value<V>& to)
108 convert::internal::from_int_to_value_dispatch(from, to);
111 # endif // ! MLN_INCLUDE_ONLY
116 #endif // ! MLN_CONVERT_IMPL_FROM_INT_TO_VALUE_HH