In a Python program, I have two values:
v1 = 0.00582811585976 v2 = 0.00582811608911
My hypothesis is that v1 is a 64-bit floating point value, and v2 is v1 converted to a 32-bit floating point value. How can I check this?
Details:
The first value is obtained from the hardware board, which calculates with an accuracy of 64 bits. The board transfers the value to the PC, but also needs to convert the value to 32-bit precision and send it to another board, which, in turn, sends it to the PC. I just want to check that this is really happening, and I have two large arrays of numbers.
source share