182
15.4.4 Real number display of GP
Refer to the following rules to display real number.
(1)If it is a positive number, do not add ‘+’sign.
(2)Do not add ‘+’ sigh on exponent part.
(3)Round off the numbers to next of displaying the last decimal place.
Refer to the following example to display
in accordance with configuration
of exponent (e) and digits, decimal digits to be displayed.
Case 1. Absolute value to be displayed is bigger than 1 (e>=0)
Display with fixed point if it is able to display as fixed point type with digits or display with
floating point.
♣ Example 1 : Real number=1234.567
(a) Digit=10, Decimal digit=2 ; Display number = 1234.56
(b) Digit=10, Decimal digit=6 ; Display number = 1234.56700
♣ Example 2 : Real number=12.34567 ; When designated digits can display positive number part, it is
displayed as floating point without respect of accuracy.
(a) Digit=6, Decimal digit=4 ; Display number = 12.345
(b) Digit=4, Decimal digit=2 ; Display number = 12.3
♣ Example 3: When it is not able to display with designated digits, use floating point.
Real number= 1234567.0 =1.234567e+6
(a) Digit=6, Decimal digit=2 ; Display number = 1.23E6
(b) Digit=5, Decimal digit=2 ; Display number = 1.2E6
♣ Example 4: Real number=1234567.0=1.234567e+6
(a) Digit=6, Decimal digit=2 ; Display number = 1.23E6
(b) Digit=5, Decimal digit=2 ; Display number = 1.2E6
♣ Example 5: Real number=1.234567X10
+15
Digit=3, Decimal digit=1 ; Display number = E15 ; Abbreviate ‘+’ sign.
♣ Example 6: Real number=-1.234567X10
+15
(a) Digit=4, Decimal digit=2 ; Display number = -E15 ; Add ‘-’ sign.
♣ Example 7 : Real number=1.234567e+15 ; When it is not able to display sign or exponent, display
‘H’ so many as digits, in case of positive number.
Digit=2, Decimal digit=0 ; Display = HH
♣ Example 8 : Real number=-1.234567e+15 ; When it is not able to display sign or exponent, display
‘L’ so many as digits, in case of negative number.
Digit=3, Decimal digit=2 ; Display = LLL