If you go above INT_MAX
, then it will be inserted as a float, To make more numbers (which are also non-decimal), is it possible to do it in C ++ or do they store floating point / double exact numbers in different ways?
Due to the factorials of Benchmark I, but 80!
is the way is too big for a signed integer ..
The language will not switch for you, but it has datatype float
and double
, which is usually 32 bit and 64 bit IEEE floats, respectively.
A 64 bit double has a sufficient range of 80, but it is not accurate enough to accurately represent it. There is nothing in the language that can do this: for example you can A large integer library will need to be used.
Comments
Post a Comment