I am sure this has been discussed before, but for some reason when I am calculating high numbers using exponents, it will suddenly give me an incorrect answer first going to negative, then 0.
Here is the number that gave me trouble:
30^9
Which gave a result of -834666496, which is clearly wrong.
I stumbled on it while experimenting with the taylor maclaurin polynomial for sin, curious to see if I could make a function that could calculate sin. Unfortunately, it doesn't seem to be feasible if I can't find a workaround for this glitch.
Anyone know anything about this?
[edit]
after some experimenting, I found that DBC has a problem handling VERY big numbers (specifically 10 billion and greater).
Try it:
print 1000000000
print 10000000000
Is there a way around this (besides dividing everything by 1 billion and keeping up with it later)?
Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?