r210 vs r211
......
99
'''ad''' : "a" decimal point (integer); '''bd''' : "b" decimal point (integer);
1010
'''au''' : --gold-- "a" upper value (string→integer); '''bu''' : "b" upper value (string→integer);
1111
'''ab''' : "a" below value (string→integer); '''bb''' : "b" below value (string→integer);
12
'''ap''' : "a" # of places of decimal (for addition or subtraction), the value above the demical point of common logarithm of a (for multiplication or division) (integer);
13
'''bp''' : "b" # of places of decimal (for addition or subtraction), the value above the demical point of common logarithm of b (for multiplication or division) (integer);
12
'''ap''' : "a" # of places of decimal (for addition or subtraction);
13
'''ac''' : the value above the demical point of '''c'''ommon logarithm of a (for multiplication or division) (integer);
14
'''bp''' : "b" # of places of decimal (for addition or subtraction);
15
'''bc''' : the value above the demical point of '''c'''ommon logarithm of b (for multiplication or division) (integer);
1416
0.303과 0.0303은 다른 수이므로 자리수가 다름을 표시할 용도
1517
'''ru''' : "result" upper value (integer→string); '''rb''' : "result" below value (integer→string);
1618
'''rp''' : "result" # of places of decimal (integer);
1719
'''rs''' : "result" suprerior value (integer→string); '''ri''' : "result" inferior value (integer→string);
18
'''i''' : index; '''tv''' temporary value 1 (integer); '''tw''' temporary value 2 (integer);
20
'''i''' : index; '''tu''' : temporary value 0 (integer); '''tv''' : temporary value 1 (integer); '''tw''' : temporary value 2 (integer); '''tx''' : temporary value 3 (integer); '''ty''' : temporary value 4 (integer);
1921
'''ps''' : pass (logical); '''ts''' : --not about gender-- test (logical)
2022
'''ea''' : error about "a"; '''eb''' : error about "b";
2123
'''wa''' : warning about "a" ; '''wb''' : warning about "b" ;
2224
'''ns''' : negative sign for multiplication and division (string);
23
{{{#!if this.as=a.toString(), this.bs=b.toString(), this.rs=0+0, this.ru=0+0, this.rb=0+0, this.ri=0+0, this.rp=0+0, this.i=0+0, this.tv=1, this.tw=0, this.ea=0+0, this.eb=0+0, this.wa=0+0, this.wb=0+0, this.ps=false, ns=""
25
{{{#!if this.as=a.toString(), this.bs=b.toString(), this.rs=0+0, this.ru=0+0, this.rb=0+0, this.ri=0+0, this.rp=0+0, this.i=0+0, this.tu=0, this.tv=1, this.tw=0, this.tx=0, this.ty=0, this.ea=0+0, this.eb=0+0, this.wa=0+0, this.wb=0+0, this.ps=false, ns=""
2426
}}}{{{#!if this.al=as.length, this.bl=bs.length, this.ad=as.indexOf("."), this.bd=bs.indexOf(".")
2527
}}}{{{#!if ad!=-1
2628
소수점이 발견되는 자리 번호가 ad이므로 ad+1번에 해당되는 자리부터 끝까지 표기합니다.
......
321323
곱셈과 나눗셈에서 a와 b 모두 0이 아닌 경우를 봅니다.
322324
{{{#!if ((+au!=0)||(+ab!=0))&&((+bu!=0)||(+bb!=0))
323325
324
나눗셈 자리를 계산할 목적으로 ap, bp 값을 다시 조정합니다.
325
bp는 계산할 숫자의 자릿수로 다시 정의합니다.
326
나눗셈 자리를 계산할 목적으로 ac, bc 값을 (상용로그 값으로서) 계산할 숫자의 자릿수로 다시 정의합니다.
326327
{{{#!if +bu==0
327
{{{#!if bp=19-bp
328
{{{#!if bc=-bp
328329
}}}}}}{{{#!if +bu!=0
329
{{{#!if bp=18+bu.length
330
{{{#!if bc=+bu.length
330331
}}}}}}
331332
332
ap는 0이 아닌 수가 적힌 가장 높은 자릿수의 번호로 다시 정의합니다. 소수점 위 18자리가 해당된다면 1로 정의하며, 소수점 아래로 내려가면 18을 더하고 소수점 아래에서 처음으로 0이 아닌 수가 나오게 되는 자리만큼을 더합니다.
333333
{{{#!if +au!=0
334
{{{#!if ap=19-au.length
334
{{{#!if ac=-ap
335335
}}}}}}{{{#!if au==0
336
{{{#!if ap=18+ap
336
{{{#!if ac=+au.length
337337
}}}}}}
338338
339339
18자리씩 곱셈계산을 할 수 있도록 입력했던 a와 b의 문자열을 확장할 것입니다.
......