NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Page 30
Such anticipation may well occur for overflow and underflow of numeric constants ; that is , an implementation may issue the exception report before execution of the program begins . Note that the recovery procedure , substitution of ...
Such anticipation may well occur for overflow and underflow of numeric constants ; that is , an implementation may issue the exception report before execution of the program begins . Note that the recovery procedure , substitution of ...
Page 31
Underflow , whether for expressions or constants , is only recommended as an exception , but , in any case , zero must be supplied when the magnitude of the result is below the minimum representable by the implementation .
Underflow , whether for expressions or constants , is only recommended as an exception , but , in any case , zero must be supplied when the magnitude of the result is below the minimum representable by the implementation .
Page 38
Underflow on INPUT is an optional exception and has a different recovery procedure , governed by the semantics for numeric constants rather than INPUT . It , therefore , is tested in its own separate program .
Underflow on INPUT is an optional exception and has a different recovery procedure , governed by the semantics for numeric constants rather than INPUT . It , therefore , is tested in its own separate program .
Page 47
These tests simply assure that the correct values are supplied , e.g. , machine infinity for overflow , zero for underflow , and that the execution continues normally as if that value had been put in that context as , say , a numeric ...
These tests simply assure that the correct values are supplied , e.g. , machine infinity for overflow , zero for underflow , and that the execution continues normally as if that value had been put in that context as , say , a numeric ...
Page 56
PROGRAM NUMBER 33 EXCEPTION UNDERFLOW OF NUMERIC EXPRESSIONS . - REFS : 7.4 UNDERFLOW OF NUMERIC CONSTANTS . PROGRAM NUMBER 34 EXCEPTION REFS : - 5.4 5.6 PROGRAM NUMBER 35 EXCEPTION - REFS : OVERFLOW AND UNDERFLOW WITHIN SUB ...
PROGRAM NUMBER 33 EXCEPTION UNDERFLOW OF NUMERIC EXPRESSIONS . - REFS : 7.4 UNDERFLOW OF NUMERIC CONSTANTS . PROGRAM NUMBER 34 EXCEPTION REFS : - 5.4 5.6 PROGRAM NUMBER 35 EXCEPTION - REFS : OVERFLOW AND UNDERFLOW WITHIN SUB ...
What people are saying - Write a review
We haven't found any reviews in the usual places.
Other editions - View all
Common terms and phrases
20 PRINT 40 PRINT SECTION ACCEPT THE PROGRAM ACCOMPANIED BY DOCUMENTATION ACCURACY ACTUAL ALLOWING ANSI STANDARD ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END END TEST ENTER ERROR EVALUATION EXACT EXECUTION EXPECTED FOLLOWING FUNCTION GOSUB GOTO IDENTIFYING THE EXCEPTION implementation INFORMATIVE TEST INPUT INPUT-REPLY ITEM LINE LOOP MEASURE MESSAGE IDENTIFYING MINIMAL BASIC TEST NBS MINIMAL BASIC NEGATIVE NON-STANDARD FEATURE NOTE NUMERIC EXPRESSIONS OCCUR OK OK OK operations ORDER OUTPUT OVERFLOW PASS THIS TEST POSITIVE PRINT 40 PRINT PRINT BEGIN TEST PRINT END PROGRAM PRINT END TEST PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS PROGRAMS USER'S MANUAL READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STEP STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO