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

Home » Public Forums » archive » Re: minor bug in IDL 5 poisson random numbers?
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: minor bug in IDL 5 poisson random numbers? [message #12607] Mon, 24 August 1998 00:00
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Bruce Macintosh <bmac@igpp.llnl.gov> writes:
>
> The statement
>
> test=randomn(seed,10,poisson=50)
>
> seems to generate a
> % Program caused arithmetic error: Floating underflow
>
> on my ultrasparc/solaris system about half the time. Presumably this
> is just some minor math thing - something in an exponential is
> getting very small - but it's faintly disconcerting and causes me to
> worry about the validity of the results. Does anyone have any
> comments?

I get this error message a lot running on the Alpha and Ultrasparc
platforms, when using the function MACHAR (which returns machine
precision constants, especially when doing MACHAR(/DOUBLE)). So far
there are no problems, but I agree that this is an upsetting error
message to see, and can also hide other legitimate errors.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@astrog.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Previous Topic: Path info in *.sav file
Next Topic: minor bug in IDL 5 poisson random numbers?

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

Current Time: Fri Oct 10 05:11:33 PDT 2025

Total time taken to generate the page: 0.24830 seconds