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

Home » Public Forums » archive » Re: Specify the degree of accuracy of a floating point number
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: Specify the degree of accuracy of a floating point number [message #52594 is a reply to message #52591] Thu, 22 February 2007 13:18 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian Larsen writes:

> I bet you are in a better position to understand this than I am
> however...

Well, what I know about it is that formatting numbers in
a sensible way for display (in widget programs, for example)
is EXTREMELY annoying. And double precision numbers are
perverse. (Although not usually as perverse as with your
ROUND_OFF program. I find it amusing, however, that it barfed
so convincingly on my very first try!)

NUMBER_FORMATTER is not too bad, but even there I have
to look at it cross-eyed occasionally to maintain the
fiction that it is a beautiful program. :-)

There are a couple of articles on my web page addressing
the issue for the more curious among you.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Displaying slices using same scaling
Next Topic: READ issue

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

Current Time: Sun Nov 30 01:42:19 PST 2025

Total time taken to generate the page: 0.09287 seconds