CQCK(3)

SYNOPSIS
SUBROUTINE CQCK (LUN, KPRINT, NERR)

NAME
cqck - Quick check for CPOFS, CPOIR, CNBFS and CNBIR.

LIBRARY
SLATEC

KEYWORDS
QUICK CHECK

AUTHOR
Voorhees, E. A., (LANL)

DESCRIPTION
QUICK CHECK SUBROUTINE CQCK TESTS THE EXECUTION OF THE SLATEC SUBROUTINES CPOFS, CPOIR, CNBFS AND CNBIR. A TITLE LINE AND A SUMMARY LINE ARE ALWAYS OUTPUTTED. THE SUMMARY LINE GIVES A COUNT OF THE NUMBER OF PROBLEMS ENCOUNTERED IN THE TEST IF ANY EXIST. CQCK CHECKS COMPUTED VS. EXACT SOLUTIONS TO AGREE TO WITHIN 0.8 TIMES THE WORD LENGTH OF THE COMPUTER (1.6 IF DOUBLE PRECISION) FOR CASE 1. CQCK ALSO TESTS ERROR HANDLING BY THE SUBROUTINE (CALLS TO XERMSG (CQCK SETS IFLAG/KONTRL TO 0)) USING A SINGULAR MATRIX FOR CASE 2. EACH EXECUTION PROBLEM DETECTED BY CQCK RESULTS IN AN ADDITIONAL EXPLANATORY LINE OF OUTPUT. CQCK REQUIRES NO INPUT ARGUMENTS. ON RETURN, NERR (INTEGER TYPE) CONTAINS THE TOTAL COUNT OF ALL PROBLEMS DETECTED BY CQCK.

ROUTINES CALLED
CNBFS, CNBIR, CPOFS, CPOIR, R1MACH

REVISION HISTORY (YYMMDD)
801002 DATE WRITTEN
891009 Removed unreferenced statement labels. (WRB)
891009 REVISION DATE from Version 3.2
891214 Prologue converted to Version 4.0 format. (BAB)
901009 Restructured using IF-THEN-ELSE-ENDIF, cleaned up FORMATs, including removing an illegal character from column 1, and editorial changes. (RWC)