示例#1
0
Number pow(const Number &n, const Number &exp)
{
    return n.pow(exp);
}
示例#2
0
Number sqrt(const Number &n)
{
    return n.pow(0.5);
}
示例#3
0
RCP<const Number> Number::div(const Number &other) const
{
    return mul(*other.pow(*integer(-1)));
}