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

Home » Public Forums » archive » Re: Floating Array Shows no numbers after the dot
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: Floating Array Shows no numbers after the dot [message #29455 is a reply to message #29454] Wed, 20 February 2002 06:19 Go to previous messageGo to previous message
tam is currently offline  tam
Messages: 48
Registered: February 2000
Member
Martin Downing wrote:

... Explanation of double versus float elided.

> [hmm - as an aside, does anyone know why DOUBLE can only store 2 more digits
> cf. FLOAT considering it uses 4 extra bytes which is enough for a 10 digit
> LONG ?]
>
> Martin
>



Surely an FAQ...

Try
pi = 4*atan(1.0d0)
print, pi

Next do
print, pi, format='(f25.20)'


It is easy to confuse the default display precision with the
internal precision.

Regards,
Tom McGlynn
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Color problems with 5.5/RH linux 7.1
Next Topic: Creating embedded license .sav files

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

Current Time: Wed Oct 08 20:08:52 PDT 2025

Total time taken to generate the page: 0.00523 seconds