From afe87280e091d4f094f068c5f21aecccd2d1831b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 11 Nov 2009 03:39:53 -0500 Subject: Added floored() and in_place_floor() methods --- src/py_balance.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/py_balance.cc') diff --git a/src/py_balance.cc b/src/py_balance.cc index 73049c99..23a2ff73 100644 --- a/src/py_balance.cc +++ b/src/py_balance.cc @@ -176,6 +176,10 @@ void export_balance() .def("in_place_truncate", &balance_t::in_place_truncate, return_internal_reference<>()) + .def("floored", &balance_t::floored) + .def("in_place_floor", &balance_t::in_place_floor, + return_internal_reference<>()) + .def("unrounded", &balance_t::unrounded) .def("in_place_unround", &balance_t::in_place_unround, return_internal_reference<>()) -- cgit v1.2.3