存储可变值

问题描述 投票:0回答:1

我需要处理可以容纳10 ^ 200或更大的值的变量。在Java中,我知道有一个名为bigInt的函数,在C中,我不知道如何处理它。有人知道如何进行这种操作吗?感激的

c# c++ c variables largenumber
1个回答
0
投票

我认为有答案here

var bi = BigInteger.Parse("79054595997078811232777738014361687045908459940911070866043475968067897954324");

我真的从未在.NET中看到BigInteger结构,但是是的,它存在于System.Numerics中

让您获得可爱的数据类型列表:)

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.