I know floating points are precise to a point, but how come I'm having issues at only 4 places? Since ParticleSystem.Particle particles cannot be tracked or have components added to them I'm tracking them by size differences of 0.001f.
I'm printing the results and I see x.xx1 for most of them but a handful of them are x.xx0999999f. Is there a way to stop this rounding error? And why am I even having this error at such a low precision? Any help would be appreciated, thanks.
In case it matters,...
Very low floating point precision error?
I'm printing the results and I see x.xx1 for most of them but a handful of them are x.xx0999999f. Is there a way to stop this rounding error? And why am I even having this error at such a low precision? Any help would be appreciated, thanks.
In case it matters,...
Very low floating point precision error?