next up previous 278
Next: FTS1_RNANR - Replaces NaN values with bad values in a vector of 32-bit IEEE floating-point numbers
Up: Routine Descriptions
Previous: FTS1_RGRDA - Reads the data of a FITS file in group format from disk or tape


FTS1_RNAND - Replaces NaN values with bad values in a vector of 64-bit IEEE floating-point numbers

Description:
This routine replaces any IEEE not-a-number (NaN) values present in a vector of 64-bit IEEE-754 floating-point numbers to the standard _DOUBLE bad-pixel value. Also converted to the standard bad-pixel value are values who exponent is greater than maximum provided by the host machine.

Invocation:
CALL FTS1_RNAND( EL, BUF, STATUS )

Arguments:

EL = INTEGER (Given)
The number of IEEE numbers to be processed. An expression must not be given.
BUF( EL ) = DOUBLE PRECISION (Given and Returned)
The IEEE numbers to be cleansed of NaN values.
STATUS = INTEGER (Given and Returned)
The global status.

References



next up previous 278
Next: FTS1_RNANR - Replaces NaN values with bad values in a vector of 32-bit IEEE floating-point numbers
Up: Routine Descriptions
Previous: FTS1_RGRDA - Reads the data of a FITS file in group format from disk or tape

KAPLIBS -- Internal subroutines used within the KAPPA package.
Starlink User Note 238
D.S. Berry
Malcolm J. Currie
2011 April 12
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council