Depends on what your needs are (float for memory efficiency, doubles for precision). I'm still not quite sure what your code is suppose to be doing. What is the higher-level problem you're trying to...
Type: Posts; User: helloworld922
Depends on what your needs are (float for memory efficiency, doubles for precision). I'm still not quite sure what your code is suppose to be doing. What is the higher-level problem you're trying to...
Just because you're using doubles in loops doesn't mean you have to keep track of all the doubles used, just the ones for that iterations.
So for example:
for(int i = 0; i < 100; ++i)
{
...