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>
53 from_to(
const int& from, Value<V>&
to);
56 # ifndef MLN_INCLUDE_ONLY
66 from_int_to_value(
const int& from,
77 from_int_to_value(
const int& from,
82 mlc_abort(V)::check();
94 from_int_to_value_dispatch(
const int& from, Value<V>&
to)
96 impl::from_int_to_value(from, exact(to));
107 template <
typename V>
109 from_to_(
const int& from, Value<V>&
to)
111 internal::from_int_to_value_dispatch(from, to);
116 # endif // ! MLN_INCLUDE_ONLY
123 #endif // ! MLN_CONVERT_IMPL_FROM_INT_TO_VALUE_HH