NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 6-10 of 100
Page 29
5.6 Numeric Constants , Variables , And Operations 5.6.1 Standard Capabilities the use of numeric arithmetic The most This group of programs introduces expressions , specifically those formed with the operations ( + , / , ^ ) provided ...
5.6 Numeric Constants , Variables , And Operations 5.6.1 Standard Capabilities the use of numeric arithmetic The most This group of programs introduces expressions , specifically those formed with the operations ( + , / , ^ ) provided ...
Page 30
The rationale for the accuracy test is best explained with an example : suppose we write the constant " 333.333 " somewhere in the program . For six digits of accuracy to be maintained , it must evaluate internally to some value between ...
The rationale for the accuracy test is best explained with an example : suppose we write the constant " 333.333 " somewhere in the program . For six digits of accuracy to be maintained , it must evaluate internally to some value between ...
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 39
If , for instance , you respond to " INPUT A , B , C " with : " 2 , , 3 " , it may be taken as a wrong type , since numeric - constant was not supplied for B , or as insufficient data , since only two , not three , were supplied .
If , for instance , you respond to " INPUT A , B , C " with : " 2 , , 3 " , it may be taken as a wrong type , since numeric - constant was not supplied for B , or as insufficient data , since only two , not three , were supplied .
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