02-01-19, 12:19 PM
|
#48
|
CTD - it's not just a job
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,106
Downloads: 451
Uploads: 2
|
Quote:
Originally Posted by Jeff-Groves
It's a problem with floats.
From Graeme at SweetScape............
"The error you are seeing is caused because 'float' is not very accurate for doing a lot of computations. We tried your function in C++ and it gives the same issue. 'float' is just not very accurate and if you switch to 'double' it will be better, although double has accuracy issues as well for lots of computations."
...
|
Thanks for that Jeff
|
|
|