Triangle number computation

I have a new miniprogram finished and available tonight. It is a piece of code, that can convert between triangle and tetrahedral number and their basic values. Download is available in this post, source code can be found on my GitHub.

I have to note, that there are limits to my program. The 32bit version has a limit of 9706 and the 64bit version 92681 on the basic number for computing the tetrahedral number. Go above and the program won’t be able to return the correct results (I am replacing them, with zeros). Triangle number is not affected by this, its theoretical maximum value is the range of uint data type (4,294,967,295).

This first version is available here, any further updates will be uploaded to GitHub.
Download: Triangle Number Calculator

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.