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

Home » Public Forums » archive » double-single precision problem?????
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
double-single precision problem????? [message #9426] Fri, 27 June 1997 00:00
Eugenio Sansosti is currently offline  Eugenio Sansosti
Messages: 3
Registered: June 1997
Junior Member
Hi Everybody,

I'm using IDL. Version 4.0.1 (AIX ibmr2).

Try to type

print,double(13.1e0)-13.1e0

you will get

3.8146973e-07......

Is that normal?

Ciao,
Eugenio
Re: double-single precision problem????? [message #9427 is a reply to message #9426] Fri, 27 June 1997 00:00 Go to previous message
Eugenio Sansosti is currently offline  Eugenio Sansosti
Messages: 3
Registered: June 1997
Junior Member
Eugenio Sansosti wrote:

> Hi Everybody,
>
> I'm using IDL. Version 4.0.1 (AIX ibmr2).
>
> Try to type
>
> print,double(13.1e0)-13.1e0
>
> you will get
>
> 3.8146973e-07......
>
> Is that normal?
>
> Ciao,
> Eugenio

I'm sorry, I was wrong.....
the command to type is

print,double(13.1e0)-13.1d0

Thanks
Eugenio,

--
_ _ _ _
| |_| |_ | |_ Eugenio Sansosti
| | \ |_ |_ |_ e-mail: sansosti@irece1.irece.na.cnr.it

Istituto di Ricerca per l'Elettromagnetismo e i Componenti Elettronici
Consiglio Nazionale delle Ricerche (CNR)

IRECE-CNR
via Diocleziano, 328 Tel. +39 81 5707999/5704945
I-80124 Napoli, Italy Fax +39 81 5705734
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: <Writers Seeking Publication>
Next Topic: Object Graphics Title/Axis Color Problem

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

Current Time: Wed Oct 08 17:36:03 PDT 2025

Total time taken to generate the page: 0.00578 seconds