Maybe this community will be more interested/helpful? I'm REALLY trying to avoid the use of things like "BigDecimal" and just stick with word-sized values (int, uint, float, etc).
The function otherwise supports all values of T, so I need a way of calculating the larger values at runtime. The hard-coded values I have right now are for demonstration/performance purposes only.