I just created a bug report for b2, it was also in b1. Can anyone verify it. The bug has to do with adding variables of type single. Results are wrong. Heres some code to test:

  dim y as Single
  dim w as single = 1.0
  dim i as integer

  for i = 0 to 1000
    System.DebugLog str(y)
    y = y + w
    System.DebugLog str(y)
  next

Just put this anywhere, a push button or whatever and run it. You should not get the results you expect. Here's what i get:

0
1
1
1.701412e+38
1.701412e+38
-0.25
-0.25
-4.253530e+37
-4.253530e+37
0.0625
0.0625
1.063382e+37
1.063382e+37
-0.015625
...

AC
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to