Posted: Tue Jan 27, 2004 2:03 am
is this what you were looking for Dare2?
http://board.win32asmcommunity.net/show ... eadid=3536
http://board.win32asmcommunity.net/show ... eadid=3536
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
yy.f = 1.000001
zz.f = 1
For xx.l = 1 To 100000000
zz.f = zz.f * yy.f
Next
Debug zz
Can you test also with floats in VB (should be 'single' or so) please?davies wrote:Yes, I used a "Double" variable for the calculation in VB.
If you used the same test code in VB (give the test processdavies wrote:That's very interesting. It seems that VB and directASM are the
same, at least or this very simple example.
Though I wonder if the relatively short time (30 ms) makes it
difficult to distinguish between the two?
8O WOOHOO!(btw: Fred is working on doubles and quads for PB 4.0, should
be available in round about 3 month)
With this constraint you need to wait until double math is fully integrated into the language.davies wrote:Another constraint I have is that the simulations will need to be understood by undergraduate students, some of whom have only a small knowledge of computer programming. In this case I am limited to a BASIC language which compiles to give fast programmes "out of the box" without the need for tweaking of ASM.