|
-
Nov 21st, 2011, 03:34 AM
#10
Re: Creating User-Defined Types.
I like Stepdragon's idea of using scientific notation. Instead of a BigDecimal, you could make a "BigDouble" type. It would have BigInteger for the mantissa, making the precision limitless, and an integer (or even BigInteger) power for the exponent. Tthe exponent could represent a power of 10. Maybe it would prove easier to code than BigDecimal, but I suppose you can't be sure until you try it .
B
B
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|