{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.6.2-3, FILE=CONF135, CLASS=CONFORMANCE, LEVEL=0 } { } {:This program tests the implementation of the arithmetic functions } {:sin, cos, exp, ln, sqrt, and arctan. } { } { A rough accuracy test is done, but is not the purpose of this } { program. } { } { Modification History : } { V3.0: Accuracy reduced to 4 digits maximum. Checks extended to } { limits both sides of all function results. Writes for } { failure standardised. } { V5.2: File header comments reformatted and file name added to } { TEST line and output lines. } { } program CONF135(output); const pi = 3.1415926; var counter : integer; begin counter := 0; if ((-0.001