Can C# store more precise data than doubles?

后端 未结 3 1261
无人共我
无人共我 2020-12-11 15:44

double in C# don\'t hold enough precision for my needs. I am writing a fractal program, and after zooming in a few times I run out of precision.

I ther

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-11 16:18

    The .NET Framework 4 introduces the System.Numerics.BigInteger struct that can hold numbers with an arbitrary large precision.

提交回复
热议问题