>  Docs Center  >  Libraries  >  Coyote  >  FPUFIX

FPUFIX

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.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us