Hi Les,
> So, as the little geometric series routine suggested,
> D2 compiles console code that handles extended type
> floating point very nicely on this Athlon machine, but
> Windows code treats everything as double.
> I have said it once, I will say it again... weird!
I agree it's weird. But I found something interesting, although
I don't know for sure what it means. In the D2 Help notes for
{$U} Pentium-safe FDIV, there is no mention of Windows.
In D5 the following note has been added: "Windows 95,
Windows NT3.51, and later, contain code which corrects the
Pentium FDIV bug system-wide." But there is no further
explanation, the remaining notes for {$U} are identical to D2.
If Windows has decided (erroneously?) that your Athlon
processor contains the FDIV flaw, it is possibly replacing
your code with its own routine, which will presumably be
defaulting to double because Windows knows nothing about
the extended data type. Just an idea, I'm as mystified as you.
In fact although extended is the default type for floating-point
values in Delphi2, and is still used in all the Help examples, it
seems to be semi-deprecated in later versions of Delphi for
reasons of compatibility with other platforms.
regards,
Martin.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/