AH500 Programming Manual as The value in use the floating-point number in S e v ue n D +1) is 16 . (The floati to se en a oded decima and the sev number is rounded off). lue D is ec e e e ne is e e b . The value in D +4 is 4. If the floating-point numb S s -1 2165E+2 and e v e 2 is 3, the co rsio result as llo . follows. D is 1 beca 1 is a negative number. ng-point number is converted in en-digit binary-coded decimal Th the al v stored i -digit bin ( D +2, ry-c #3225550 l number, The va in +3 1 b aus th xpo nt a n gativ num er er in 1 i .3 th alu in S nve n is fo ws D D D +2 +1 D +3 D +4 -1.32165E+2 is equal to 132.165. Sin decimal p he floating-point number in S 1 is moved al places.
T ting-point number in S 1 becomes -132165. -132165 is equal to -1321650E-1. The bi r ating-point r format is as ce to t the he value in S 2 is 3, the right by three decim oint in t he floa na y-coded decimal flo numbe follows. The value 1 The value stored in ( D +2, D +1) is 16#1321650. (The floating-point number is converted into the seven-digit binary-coded decimal number, and the seven-digit binary-coded decim number is rounded off). in D is 1 because the floating-point number in S is a negative number. al The value in D +3 is 1 because the exponent is a negative number. The value in D +4 is 4. Example:
D10 D11 D12 D13 D14 Since the value in D4 is 3, the decimal point in 1.963852741 in (D1, D0) is moved to the right by three decimal places. The floating-point number in (D1, D0) becomes 1963.852741. The value in D10 is 0 because the floating-point number in S 1 is a positive number. 1963.852741 is equal to 1963852E-3. The binary-coded decimal floating-point number format is as follows. The value stored in (D12, D11) is 16#1963850. (The floating-point number is converted into the seven-digit binary-coded decimal number, and the seven-digit binary-coded decimal number is round The v The v ed off). alue in D13 is 1 because the exponent is a negative number. alue in D14 is 3.
6-501 (S1+1,S1) -1.32165E+2 S2 3 Number of places 1 16#1321650 1 1 -1.32 165E+ 2 (D1,D0) 1.963852741 D4 3 Number of places 0 16#1963850 1 3 1.963 85274 1