Delphi fast plus big integer?

前端 未结 1 1755
小鲜肉
小鲜肉 2021-01-16 22:59
function AddNumStrings (Str1, Str2 : string): string;
var
  i : integer;
  carryStr : string;
  worker : integer;
  workerStr,s : string;

  begin
  Result := inttos         


        
1条回答
  •  生来不讨喜
    2021-01-16 23:49

    1. INT128 lib for FPC
    2. GNURZ lib (for FPC but should be compatible with Delphi)
    3. GMP (FPC supports it, Delphi also)
    4. BigInt and BigFloat
    5. BigInt Delphi Library
    6. Another BigInt
    7. TPMath
    8. DeHL for Delphi
    9. BigNumbers BigInteger, BigDecimal and BigRational for Delphi

    Hopefully one of those will be faster...

    0 讨论(0)
提交回复
热议问题