So I'm writing a program...or actually just wrote it, and managed to find out it's bugging out on me. C++, as the title says.
Long story short, it's generating a value that is too large to fit inside a Double. This is all well and good; it's generating, as far as I can tell, the value it's supposed to-I don't have the time at the moment to step through it until it hits that limit, or I would.
In any case, the simple fact of the matter is I'm performing mathematical operations and exceeding the upper limit of what a double can hold.
Any ideas?
-
Edit- may possibly (unlikely) be a false alarm-I'm actually expecting monstrous numbers, but in an attempt to narrow the problem down further and/or find a way around it, I've managed to discover my programs keep giving me values that should be out of range, even with ridiculously low limits so they shouldn't, and I've yet to determine why.