From e0dd2cd0a44ddbfabadb30da4569e10fd36960a9 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 30 Jan 2009 19:30:16 -0400 Subject: Changed to using rational numbers instead of integer approximations. As a result, dependency on the gdtoa was dropped, and dependency on mpfr was added. --- python/py_value.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/py_value.cc') diff --git a/python/py_value.cc b/python/py_value.cc index 4156ee44..48cd0feb 100644 --- a/python/py_value.cc +++ b/python/py_value.cc @@ -195,8 +195,10 @@ void export_value() .def("abs", &value_t::abs) .def("__abs__", &value_t::abs) +#ifdef INTEGER_MATH .def("round", &value_t::round) .def("in_place_round", &value_t::in_place_round) +#endif .def("unround", &value_t::unround) .def("reduce", &value_t::reduce) -- cgit v1.2.3