Friday, 6 September 2013

Java - does double and float percision depend on the machine?

Java - does double and float percision depend on the machine?

I am wondering whether or not Java uses a uniform precision for floating
point numbers (float and double), regardless of the machine architecture
that runs the VM. This is required because I trying to synchronize some
simulations that involve math on several machines and I must make sure
that all of the calculations will produce the same results on all of them.

No comments:

Post a Comment