comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL platform difference
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL platform difference [message #14783 is a reply to message #14760] Tue, 30 March 1999 00:00 Go to previous messageGo to previous message
Christophe Marque is currently offline  Christophe Marque
Messages: 11
Registered: January 1999
Junior Member
Peter Mason wrote:

>
> I think that the differences seen here are due to differences in FPU
> architecture (even though all these platforms store the numbers in IEEE
> format *in memory*). The Intel x86 has 80-bit floating-point registers. I
> don't know what mac hardware you're using, but I'd bet that it's different.
> From what I recall, the Alpha is less than 80 bits. (I think you get what
> you ask for on Alpha? - viz. 32-bits for single precision.) So results for
> an operation as simple as a single subtraction or addition can differ
> noticeably, even in double precision. Even a half-decent compiler will keep
> some operands in registers for a while (at least sometimes), so these
> differences can easily build up. (Well, there's a compiler option to force
> them out to memory straight away, but I don't think IDL is compiled like
> this.) So given the nature of the beast, it's risky to rely on *exact*
> floating-point numbers, especially across platforms and/or with algorithms
> that push the precision.
>
> Peter Mason

The problem seems to be more general: we upgraded from IDL5.0 to IDL5.2
(for the UNIx Platform). Numerical results are different for IDL 5.2 and
IDL5.0 on the same platform. These new results are closer to WINDOWS
results(5.0).
When we use IDL 5.2(windows) with double floats we obtain the same
results on all IDL5.2 platforms.
Does someone else encounter the same troubles in upgrading from 5.0 to
5.2?
Thank you
--
Christophe Marque
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Emacs with IDL
Next Topic: Re: bold text

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:50:26 PDT 2025

Total time taken to generate the page: 0.00427 seconds