I am basically totalling a number which becomes very large. I am using float as I wanted to retain the level of precision, but it only goes up to 100k. Here is some sample output.
x 361 y 800 width 530 h 800 intensity 93581.52477873862
x 362 y 800 width 530 h 800 intensity 93829.5759344697
x 363 y 800 width 530 h 800 intensity 94079.55780857801
x 364 y 800 width 530 h 800 intensity NaN
x 365 y 800 width 530 h 800 intensity NaN
x 366 y 800 width 530 h 800 intensity NaN
I have tried double etc. and had no luck! Anyone have any ideas on what is best to use?
Thanks