What's bigger than a double?

前端 未结 8 843
甜味超标
甜味超标 2021-01-07 16:32

Is there a native c++ variable type that\'s \"bigger\" than a double?
float is 7
double is 15 (of course depending on the compiler)
Is there anything bigger tha

8条回答
  •  长情又很酷
    2021-01-07 17:24

    You can use GNU MP. Its floating-point functions have unlimited mantissa and 32-bit or 64-bit (depending on the native word size) exponent. It also comes with a C++ wrapper.

提交回复
热议问题