Michael - 2015-11-23

Bug found in FreeMat v4.0 (Linux) and 4.1.1 (Windows).

This leads to unexpected results. The actual reason for using uint64 in the first place is because the accuracy of 53 bits of double is not sufficient. So uint64 should be a true 64bit type. Alternatively, it should be clearly written in the documentation that there is a restriction and that accuracy is only given for up to 53 bits, i.e. 2^53-1.

 

Last edit: Michael 2015-11-23