SQCK(3)

SYNOPSIS
SUBROUTINE SQCK (LUN, KPRINT, NERR)

NAME
sqck - Quick check for SPOFS, SPOIR, SNBFS and SNBIR.

LIBRARY
SLATEC

KEYWORDS
QUICK CHECK

AUTHOR
Voorhees, E. A., (LANL)

DESCRIPTION
QUICK CHECK SUBROUTINE SQCK TESTS THE EXECUTION OF THE SLATEC SUBROUTINES SPOFS, SPOIR, SNBFS AND SNBIR. 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. SQCK 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. SQCK ALSO TESTS ERROR HANDLING BY THE SUBROUTINE (CALLS TO XERMSG (SQCK SETS IFLAG/KONTRL TO 0)) USING A SINGULAR MATRIX FOR CASE 2. EACH EXECUTION PROBLEM DETECTED BY SQCK RESULTS IN AN ADDITIONAL EXPLANATORY LINE OF OUTPUT. SQCK REQUIRES NO INPUT ARGUMENTS. ON RETURN, NERR (INTEGER TYPE) CONTAINS THE TOTAL COUNT OF ALL PROBLEMS DETECTED BY SQCK.

ROUTINES CALLED
R1MACH, SNBFS, SNBIR, SPOFS, SPOIR

REVISION HISTORY (YYMMDD)
800930 DATE WRITTEN
890911 Removed unnecessary intrinsics. (WRB)
891009 Removed unreferenced statement label. (WRB)
891009 REVISION DATE from Version 3.2
891214 Prologue converted to Version 4.0 format. (BAB)
901009 Routine writes illegal character to column 1, fixed. Editorial changes made, code fixed to test all four routines. (RWC)
901009 Restructured using IF-THEN-ELSE-ENDIF, cleaned up FORMATs, including removing an illegal character from column 1, and fixed code to test all four routines. (RWC)