NBS Minimal BASIC Test Programs: Version 2, User's Manual, Volume 13 |
From inside the book
Results 1-5 of 100
Page 27
The variables , of course , have to be given a value before they are printed , and this is done with the LET statement . . PRINT is among the most semantically complex statements in BASIC . Furthermore , the PRINT statement is the ...
The variables , of course , have to be given a value before they are printed , and this is done with the LET statement . . PRINT is among the most semantically complex statements in BASIC . Furthermore , the PRINT statement is the ...
Page 28
itself is less than one , its value becomes though the argument one after rounding . ... The rules for printing numeric values are fairly elaborate , and , moreover , are heavily implementation - dependent ; - accordingly conscientious ...
itself is less than one , its value becomes though the argument one after rounding . ... The rules for printing numeric values are fairly elaborate , and , moreover , are heavily implementation - dependent ; - accordingly conscientious ...
Page 30
This requirement tested by assuring that values which differ by 1 in the 6th digit actually compare in the proper order ... For six digits of accuracy to be maintained , it must evaluate internally to some value between 333.3325 and ...
This requirement tested by assuring that values which differ by 1 in the 6th digit actually compare in the proper order ... For six digits of accuracy to be maintained , it must evaluate internally to some value between 333.3325 and ...
Page 31
Accordingly , these tests apply a criterion of accuracy for the arithmetic operations which is suggested by the standard's requirement that individual numeric values be represented accurate to six significant decimal digits .
Accordingly , these tests apply a criterion of accuracy for the arithmetic operations which is suggested by the standard's requirement that individual numeric values be represented accurate to six significant decimal digits .
Page 32
on by and so we require that csin ( x ) equal some value taken sin ( x ) in the interval [ 29.1233 , 29.1235 ) . This then reduces to the test that -.7507297957 < = csin ( 29.1234 ) < = -.7505 976588 . for The motivation the formula for ...
on by and so we require that csin ( x ) equal some value taken sin ( x ) in the interval [ 29.1233 , 29.1235 ) . This then reduces to the test that -.7507297957 < = csin ( 29.1234 ) < = -.7505 976588 . for The motivation the formula for ...
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 APPROPRIATE ERROR MESSAGE ARGUMENT ARRAY ASSIGNED BASIC TEST PROGRAMS BEGIN TEST CHARACTERS COLUMN COMPUTED CONSTANTS CONTAINING CONTROL DATA DIGITS DISPLAYED END PROGRAM FILE 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 END PROGRAM PRINT PROGRAM FILE PRINT THIS SECTION PRINT TO PASS PROCESSOR PROGRAM NUMBER PROGRAM TESTS READ REFERENCE REFS REJECT THE PROGRAM REPORTED RESULT RETURN RND FUNCTION SECTION TESTS SPACE STATEMENT STRING SUBSCRIPT SUPPLIED TERMINATE TEST FAILED TEST OK TEST PASSED TYPE UNDERFLOW VALUE VARIABLE ZERO ОК ОК ОК