Skip to content

9 Comments

Kazibar

12.11.2019 at 10:12 pm
Reply
1) As others pointed out, you don't need a double, you need a bit integral type (either long long, or uint64_t).2) If you do use a double, you don't need DBL_MAX (which is the largest number that can be stored), you need DBL_DIG, which is the number of significant digits you can store.(It won't do you any good to be able to store if you can't distinguish it from ).

Leave A Comment

Your email address will not be published. Required fields are marked *