示例#1
0
文件: int.cpp 项目: guangwong/pyston
extern "C" Box* intFloordivInt(BoxedInt* lhs, BoxedInt* rhs) {
    assert(isSubclass(lhs->cls, int_cls));
    assert(isSubclass(rhs->cls, int_cls));
    return div_i64_i64(lhs->n, rhs->n);
}
示例#2
0
文件: int.cpp 项目: Bassem450/pyston
extern "C" Box* intDivInt(BoxedInt* lhs, BoxedInt *rhs) {
    assert(lhs->cls == int_cls);
    assert(rhs->cls == int_cls);
    return boxInt(div_i64_i64(lhs->n, rhs->n));
}