coyote: FPUFIX

NAME
FPUFIX
PURPOSE
This is a utility routine to examine a variable and fix problems
that will create floating point underflow errors.
AUTHOR
FANNING SOFTWARE CONSULTING
David Fanning, Ph.D.
1645 Sheely Drive
Fort Collins, CO 80526 USA
Phone: 970-221-0438
E-mail: david@idlcoyote.com
Coyote's Guide to IDL Programming: http://www.idlcoyote.com
CATEGORY
Utilities
CALLING SEQUENCE
fixedData = FPUFIX(data)
ARGUMENTS
data :         A numerical variable to be checked for values that will cause
               floating point underflow errors. Suspect values are set to 0.
KEYWORDS
None.
RETURN VALUE
fixedData:    The output is the same as the input, except that any values that
              will cause subsequent floating point underflow errors are set to 0.
COMMON BLOCKS
None.
EXAMPLES
data = FPTFIX(data)
RESTRICTIONS
None.
MODIFICATION HISTORY
Written by David W. Fanning, from Mati Meron's example FPU_FIX. Mati's
   program is more robust that this (ftp://cars3.uchicago.edu/midl/),
   but this serves my needs and doesn't require other programs from
   Mati's library.  24 February 2006.