Leslie and Martin, I'm afraid I can't help you on the actual question of this thread. But I do want to encourage you to continue in your math programming in Delphi 2.
I am an amateur mathematician, using Delphi for most of my programming. I used Delphi 2.01 for a while, then upgraded to Delphi 5. One of my goals was to improve Delphi's math capabilities, and I sent some suggestions to Borland and some math programmers. Some of my suggestions were even used, to my pleasant surprise. You can do a great deal in D2, but there are some improvements in D5 in the area of mathematics. Here are the issues I can recall. 1) D2's Exp function has a bug that gives an error for results where it should give a legitimate value. (This is where the result should be greater than MaxExtended/Sqrt(2) = 8.412672081e4931). D5 corrected this bug and also slightly increase the speed of the Exp function. (D5 still has a bug, where the argument is less than -8.246590316302328608e+4931 and gives an error where it should underflow to zero. But I have seen this same bug in other languages' implementation of Exp.) 2) D2's IntPower function has many bugs. D5's corrected many (but not all) of them. 3) D5 gives you better control over the FPU's default state. In D2, an exception restores the FPU to a fixed state, which may not be what you want. D5 lets you change the default state. The only time I wanted to do this was when I wanted to change the rounding from bankers' to truncation. 4) D5 has 64-bit integers. These are true integers, better than D2's Comp type. 5) D5 has unsigned 32-bit integers. 6) D5 has dynamic arrays. This may not seem like a math issue, but it has helped many of my math routines. So you see that some of these issues are minor, but some have been significant to me. These issues do have work-arounds: for example, I wrote my own Exp, IntPower, and 64-bit integer routines in D2. Happy math programming! ------------------------------------------------------------------------------- [This e-mail scanned for viruses and spam by Nmax - "Your MAXimum Connection!"] ------------------------ Yahoo! Groups Sponsor --------------------~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/i7folB/TM --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

