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

Home » Public Forums » archive » Program caused arithmetic error: Floating underflow
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: Program caused arithmetic error: Floating underflow [message #88779 is a reply to message #88777] Wed, 18 June 2014 05:59 Go to previous messageGo to previous message
Fabzi is currently offline  Fabzi
Messages: 305
Registered: July 2010
Senior Member
... if you sure that the formulation of your loop is correct you could
try using double precision numbers. This will just allow value to become
even closer to 0 than it was already:

IDL> print, 1e-50 / 17000
0.00000
% Program caused arithmetic error: Floating underflow
IDL> print, 1d-50 / 17000d
5.8823529e-55
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: converting strings to float
Next Topic: map_set without any grid lines

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

Current Time: Wed Oct 08 14:21:53 PDT 2025

Total time taken to generate the page: 0.00457 seconds