Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 18:04:53 +0000



Post From: Serious BUG in Chart Calculator VOLUME

[2024-03-31 08:32:55]
User346098 - Posts: 38
Hi,
Chart Calculator has a bug when seeing the volume with "Show Volume". I can see you are using was a signed int to store the volume because it goes negative pass 2,147,483,647 and rotates

Why do you not use one of those BigNum and variable precision arithmetic libraries to display any size of volume ?
or this https://discuss.codechef.com/t/computing-factorials-of-a-huge-number-in-c-c-a-tutorial/1727 ?