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

Home » Public Forums » archive » Re: LEGENDRE 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
Re: LEGENDRE problem [message #62539] Tue, 16 September 2008 05:42
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
>> What arguments are you giving it? Do you expect it to underflow? If
>> so, that's fine (although you may want to suppress it for speed
>> purposes - seehttp://www.dfanning.com/math_tips/underflow.htmland
>> http://www.dfanning.com/code_tips/underflow.html).
>
> Uh, I think the word was "OVERflow". :-(

Clearly I need to move my reading-IDL-newsgroup part of the day to
after my first coffee. ;-)

-Jeremy.
Re: LEGENDRE problem [message #62556 is a reply to message #62539] Mon, 15 September 2008 07:06 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
xiao wrote:
> Hi~ everyone~ I want to use this function in IDL. But it always
> reminds me
>
> Program caused arithmetic error: Floating overflow

Could you give us an example of input value that cause
the overflow? Seems strange to me...

Paolo

>
> I have already use the DOUBLE key words, What should i do now?
>
> Thank you
Re: LEGENDRE problem [message #62557 is a reply to message #62556] Mon, 15 September 2008 06:42 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jeremy Bailin writes:

> What arguments are you giving it? Do you expect it to underflow? If
> so, that's fine (although you may want to suppress it for speed
> purposes - see http://www.dfanning.com/math_tips/underflow.html and
> http://www.dfanning.com/code_tips/underflow.html).

Uh, I think the word was "OVERflow". :-(

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.")
Re: LEGENDRE problem [message #62560 is a reply to message #62557] Mon, 15 September 2008 05:49 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Sep 14, 9:09 pm, xiao <littledd...@gmail.com> wrote:
> Hi~ everyone~ I want to use this function in IDL. But it always
> reminds me
>
> Program caused arithmetic error: Floating overflow
>
> I have already use the DOUBLE key words, What should i do now?
>
> Thank you

What arguments are you giving it? Do you expect it to underflow? If
so, that's fine (although you may want to suppress it for speed
purposes - see http://www.dfanning.com/math_tips/underflow.html and
http://www.dfanning.com/code_tips/underflow.html).

-Jeremy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Software Articles Collection
Next Topic: Re: IDL is giving me a syntax error out of nowhere

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

Current Time: Thu Oct 09 04:25:03 PDT 2025

Total time taken to generate the page: 2.07949 seconds