bernie_carlton
Lifetime Supporting Member + Moderator
The PLC is using 32 bit reals. The PC computation is probably using 64 bit reals.
Does AB have an LREAL double precision floating point data type? 64 bits can allow for some pretty big numbers.
The precision of floating point numbers is finite.
But does it do 64-bit floating-point math ?
On a Micro820, all are LREAL variables, just the same result than EXCEL
I disagree, micro820 uses ieee 64 bit floats, where excel uses a modified version. I would describe the results as similar but not the same.
And does anyone know the fraction that was used to approximate Pi?