FP eceptions on equality assignment from array value?

Discussion created by heavensonearth on Jan 26, 2010
Latest reply on Jan 28, 2010 by heavensonearth

Now I have an unexpected  question...CodeAnalyst is reporting FP exceptions here:

float a[2], b;
{math stuff to calculate b}
a[1] = b;

Is this because array values must be exactly 32 bits and b may be represented at higher precision due to denormalized approximations, so it is being truncated to fit into the array? Or is there another possible explanation? I'm quite confused why an equality assignment would cause a floating point exception.