C++ boost rational class, floor function

Viewed 709

I'm new to using boost.

Besides simply doing x.numerator()/x.denominator, is there a proper 'boost-type' way of invoking the floor(x) function (i.e. truncation towards zero) when using the boost rational library?

Thanks

1 Answers
Related