Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 00:33:52 +0000



Post From: Serious BUG in Chart Calculator VOLUME

[2024-03-31 08:32:55]
User346098 - Posts: 40
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 ?