16 Star 121 Fork 8

同济大学计算机开放实验室 / como

 / 详情

基于大数计算的算术、比较及逻辑计算

待办的
拥有者
创建于  
2022-01-31 17:54

大数算法它的加、减、乘、除算数计算,是不是不用CPU自己的计算单元,也就是不用汇编级的加、减、乘、除,而是自己用算法(按bit?)计算。
利用这些特性,实现基于大数计算的算术、比较及逻辑计算。

计算机系统的容错技术方法 https://m.c114.com.cn/w174-560727.html
最基本的软件容错技术是Algirdas Avizienis提出的基于静态冗余的N版本编程方法。利用大数计算机,实现软件容错。
多版本一般要求不同的版本实现算法不同。

评论 (3)

XilongPei 创建了任务

/como/test/libcore/como/math/biginteger/main.cpp中增加CompareTo相关测试用例。

ECode BigInteger::CompareTo(
    /* [in] */ IInterface* other,
    /* [out] */ Integer& result)
interface IBigInteger
{
加    Add(
        [in] IBigInteger* value,
        [out] IBigInteger&& result);
减    Subtract(
        [in] IBigInteger* value,
        [out] IBigInteger&& result);
乘    Multiply(
        [in] IBigInteger* value,
        [out] IBigInteger&& result);
除    Divide(
        [in] IBigInteger* divisor,
        [out] IBigInteger&& result);

BigDecimal 使用不当,造成 P0 事故! https://mp.weixin.qq.com/s/U-o8nHXSb8ggURFpmpMlSw

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
1855899 xilongpei 1627538227
1
https://gitee.com/tjopenlab/como.git
git@gitee.com:tjopenlab/como.git
tjopenlab
como
como

搜索帮助