# BigInteger **Repository Path**: rebeater/BigInteger ## Basic Information - **Project Name**: BigInteger - **Description**: 有符号大整数类的加减乘 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-15 - **Last Updated**: 2021-08-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 有符号大数加减乘 main.cpp包含测试用法, GenerateTestData.py用于产生测试用例 在±1e300范围内测试没有出现错误 计算效率一般般 除法有空再实现 目前直接用BigInteger对象去做除法编译器不会报错是因为,重载了强制类型转换,编译器会自动转换为整数参与计算。 但是警告,转换成double有很大的精度损失,且存在Overflow风险 ![image-20210815175203911](readme.assets/image-20210815175203911.png)