Images of JIS X 0212
三分一技術士事務所Issues on Spec 2.1 JIS X 7206:2020Issues on Spec 2.1Spec 2.1 is NOT edited sufficiently clear and consistentlyIEEE Standard for Floating-Point ArithmeticISO 80000-1:2009(E)Rounding of numbersB.1 Rounding means replacing the magnitude of a given number by another number called the rounded number, selected from the sequence of integral multiples of a chosen rounding range.EXAMPLE 1rounding range:0,1integral multiple:2,1; 12,2; 12,3; 12,4; etc.EXAMPLE 2rounding range:10integral multiple:1 210; 1 220; 1 230; 1 240; etc.B.2 If there is only one integral multiple nearest the given number, then that is accepted as the rounded number.EXAMPLE 3rounding range:0,1given numberrounded number12,23312,212,25112,312,27512,3EXAMPLE 4rounding range:10given numberrounded number1 223,31 2201 225,11 2301 227,51 230B.3 If there are two successive integral multiples equally near the given number, two different rules are in use.Rule A: The even multiple is selected as the rounded number.EXAMPLE 5rounding range:0,1given numberrounded number12,2512,212,3512,4EXAMPLE 6rounding range:10given numberrounded number1 225,01 2201 235,01 240Rule B: The greater in multitude is selected as the rounded number.EXAMPLE 7rounding range:0,1given numberrounded number12,2512,312,3512,4-12,25-12,3-12,35-12,4EXAMPLE 8rounding range:10given numberrounded number1 225,01 2301 235,01 240-1 225,0-1 230-1 235,0-1 240Rule A is generally preferable and of special advantage when treating, for example, series of measurements in such a way that the rounding errors are minimized.Rule B is sometimes used in computers.B.4 Rounding in more than one stage by the application of the rules given above may lead to errors. Therefore, the rounding shall always be carried out in only one step.EXAMPLE 12,254 should be rounded to 12,3 and not first to 12,25 and then to 12,2.B.5 The rules given above should be used only if no special criteria for the selection of the rounded number have to be taken into account. For instance, in case where safety requirements or other limits have to be respected, it is advisable to round only in one direction.B.6 The rounding range should always be indicated.Share this...emailFacebookTwitterLinkedin B.1 Rounding means replacing the magnitude of a given number by another number called the rounded number, selected from the sequence of integral multiples of a chosen rounding range.EXAMPLE 1rounding range:0,1integral multiple:2,1; 12,2; 12,3; 12,4; etc.EXAMPLE 2rounding range:10integral multiple:1 210; 1 220; 1 230; 1 240; etc.B.2 If there is only one integral multiple nearest the given number, then that is accepted as the rounded number.EXAMPLE 3rounding range:0,1given numberrounded number12,23312,212,25112,312,27512,3EXAMPLE 4rounding range:10given numberrounded number1 223,31 2201 225,11 2301 227,51 230B.3 If there are two successive integral multiples equally near the given number, two different rules are in use.Rule A: The even multiple is selected as the rounded number.EXAMPLE 5rounding range:0,1given numberrounded number12,2512,212,3512,4EXAMPLE 6rounding range:10given numberrounded number1 225,01 2201 235,01 240Rule B: The greater in multitude is selected as the rounded number.EXAMPLE 7rounding range:0,1given numberrounded number12,2512,312,3512,4-12,25-12,3-12,35-12,4EXAMPLE 8rounding range:10given numberrounded number1 225,01 2301 235,01 240-1 225,0-1 230-1 235,0-1 240Rule A is generally preferable and of special advantage when treating, for example, series of measurements in such a way that the rounding errors are minimized.Rule B is sometimes used in computers.B.4 Rounding in more than one stage by the application of the rules given above may lead to errors. Therefore, the rounding shall always be carried out in only one step.EXAMPLE 12,254 should be rounded to 12,3 and not first to 12,25 and then to 12,2.B.5 The rules given above should be used only if no special criteria for the selection of the rounded number have to be taken into account. For instance, in case where safety requirements or other limits have to be respected, it is advisable to round only in one direction.B.6 The rounding range should always be indicated.Share this...emailFacebookTwitterLinkedin