nan

Functions

int main(int argc, char *argv[])

nan [ infile ]

  • infile str

    • double-type data sequence

  • stdout

    • result messages

This command checks whether given data sequence contains NaN or infinity.

The check can be performed as follows.

nan data.d
Parameters:
  • argc[in] Number of arguments.

  • argv[in] Argument vector.

Returns:

0 on success, 1 on failure.