If you want to call your function round()
this way
std::ostream& operator <<(std::ostream& out, BigFloat y)
{
round( y);
//...
}
it has to be a static member function in BigFloat
:
class BigFloat {
//...
public:
static void round(BigFloat& input)
{
//...
}
//...
}
Then you will call it this way:
std::ostream& operator <<(std::ostream& out, BigFloat y)
{
BigInt::round( y);
//...
}