Hi all,
I want to remove numeric error flag of VxWorks for a math operation. After the operation finished, I want to re-activate the flag. I checked online buy couldn’t find a way to do it.
Thanks in advance.
Maybe you can see my mistake in my equation that creates numeric error;
UInt16 sensorValue = 0U;
UInt16 X = 32768U;
UInt16 Y = 65535U;
Float32 result = 0.0F;
result = (sensorValue - X) / (Float32)(Y);