The mapping product that we developed using Delphi (www.tumonz.co.nz) was
developed on Intel and AMD chips using Delphi 4. As you can imagine the
mapping software was very math intensive since we use vector map information
instead of scanned bitmaps of maps. We found that if we compiled the project
on the AMD then the math-processor behaved differently with extremely small
numbers during compile time so that no matter what machine we ran the
executable on, we would encounter errors. I think this was due to how real
numbers were initialised. In our code we had this one line:

    if (Latitude > 0) then tmplat := -Latitude else tmplat := Latitude;

this caused no problem to the pentium compilation but the AMD compilation
initialised the Real type value (Latitude) as an extremely small number. The
negation of Latitude resulted in an invalid floating point number on the AMD
compilation but not on the pentium compilation. There are also a few other
places that we have yet to track down were the AMD compilation results in
deviant behaviour (ie. no errors but behavioural differences).

I don't know if this has changed in Delphi 5 or 6 (we are currently waiting
for our Delphi 6 to be delivered).

regards,

Phil Middlemiss
[EMAIL PROTECTED]

----- Original Message -----
From: "Siegfried Kirchmair" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Friday, November 16, 2001 8:08 AM
Subject: RE: [DUG]: Service Order


> Hi,
>
> Has there been any problems to develop delphi 5,6 apps on AMD based
> machines?
>
> thanks
>  sigi
> Sigi & Silvia  Nelson, New Zealand
> Organic cereals, fruits & nuts, tea, coffee, honey etc.
> http://www.TheShop.co.nz
> Buy Organic and enjoy!
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>
>




---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to