4 Jul
2003
4 Jul
'03
11:50 a.m.
Hi Folks, the tests with the 64-bit version binaries are in progress. The following code demonstrates a bug related to the round() function: program bugtest; var i,j,k:integer; r:real; begin for i:= 1 to 100 do begin r:=random; j:=trunc(r*100); k:=round(r*100); writeln(j:4,k:4,r*100:4:0,r:8:4); end; end. In 32-bit the code generates the correct output but in 64-bit the value of "k" is always zero. The other columns of the result is correct. Any idea why, any suggestion for further tests? Cheers, miklos
8446
Age (days ago)
8446
Last active (days ago)
1 comments
2 participants
participants (2)
-
Cserzo Miklos -
Frank Heckenbach