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

Home » Public Forums » archive » Pi is Rotten?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Pi is Rotten? [message #88044] Fri, 14 March 2014 06:17 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

Perhaps because today is Pi Day:

http://bit.ly/1lDkQi4

Andrew Cools alerts me to an IDL problem of utmost importance. I refer,
of course, to an inexplicable problem with IDL's version of Pi:

IDL> print, !dpi, format='(f0.18)'
3.1415926535897931

As everyone knows, the actual value of Pi is 3.1415926535897932. The
last digit here is a "2", not a "1".

http://bit.ly/1qCvycp

Even ExelisVis itself realizes this, and puts the proper value in the
new !Const system variable. What's up with this? Can we ever trust IDL
again?

Cheers,

David

P.S. Let's just say I'm off to get a piece of apple with my morning Joe.

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need help with map projection conversion in IDL or ENVI
Next Topic: adding legend to overlapping cghistoplot histograms

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

Current Time: Wed Oct 08 20:10:48 PDT 2025

Total time taken to generate the page: 0.00479 seconds