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

Home » Public Forums » archive » precision of pi
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: precision of pi [message #6566 is a reply to message #6457] Fri, 12 July 1996 00:00 Go to previous message
djackson is currently offline  djackson
Messages: 31
Registered: June 1993
Member
In article <31DA5CAA.3D0D@ic.ac.uk>, Jorn Helbert <jorn@ic.ac.uk> wrote:

> Hi,
> a simple question:
> Is there any way to enhance the precision of !pi or !dpi. 5 or 8
> significant digits are really not much.

I think the precision is there, but these examples will show how to display it:

IDL> print,!dpi
3.1415927

IDL> print,!dpi,format="(F20.18)"
3.141592653589793100

Cheers,
-Dick

Dick Jackson djackson@ibd.nrc.ca Institute for Biodiagnostics
Opinions are mine alone. National Research Council Canada, Winnipeg
"And I told him my dream was to live for all time
In some perfect refrain, like the man who wrote 'Danny Boy'."
- Joe Jackson, from the album _Night_Music_, 1994.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: HELP!
Next Topic: How to find 3D shaped regions inside 3D data cubes ?

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

Current Time: Wed Dec 03 07:37:58 PST 2025

Total time taken to generate the page: 2.79986 seconds