어떤 수의 n의 보수란, 더했을 때 n이 되는 그 수.
ex. 7에 대해 '10의 보수'는 3.
ex. 7에 대해 '10의 보수'는 3.
기수,radix (see 기수법,numeral_system) 의 체계에 대해 두 가지 보수의 형태가 있음
보수는 보통 그냥수가아니라 정수,integer에만... (다른 경우가 없지아마??)
일반적으로, n진법으로 표시된 정수에,
- 의 보수 (radix complement)
- 의 보수 (diminished radix complement)
보수는 보통 그냥수가아니라 정수,integer에만... (다른 경우가 없지아마??)
일반적으로, n진법으로 표시된 정수에,
- n−1의 보수 표현법
- n의 보수 표현법
ex. 10진수 체계에서
6에 대한 10의 보수: 4
6에 대한 9의 보수: 3
이렇게 9의 보수에 하나를 더하면 10의 보수가 됨이, 왜 그런지 명백하다.6에 대한 9의 보수: 3
보수를 구할 때는 자리수가 중요하다.
이진수에서 1의 보수는 bitwise complement와 완전 동일? chk 암튼 자리수에 맞춰 비트 반전만 하면 ok.
정수 부분에 n개의 숫자를 가지는 기수 r에서의 숫자 N이 주어졌을 때,
N에 대한 (r−1)의 보수 := (rn−1)−N
N에 대한 (r−1)의 보수 := (rn−1)−N
10진수에서 9의 보수 = (10n − 1) − N
10진수에서 10의 보수 = (10n − N) = (9의 보수) + 1
10진수에서 10의 보수 = (10n − N) = (9의 보수) + 1
2. Diminished Radix Complement ¶
Given a number N in base r having n digits
- (r−1)'s complement of N : (rn−1)−N
3. 1의 보수, 2의 보수 ¶
컴퓨터 시스템에서 부호,sign를 가진 정수를 표현하기 위해 이 방법이 쓰임. (2의 보수가 가장 많이 쓰이며 여기에 속하지 않는 sign-and-magnitude 방법도 있음.) 부호 페이지에 Forouzan 부록 예제로 참조.
5.1. 'complement' ¶
영단어 complement는
집합,set에서는 여집합,complement을 뜻함. // pagename set_complement or complement_set
{
작성중
https://foldoc.org/set complement
}
logical_complement - 논리,logic
https://foldoc.org/logical complement
bitwise_complement - 비트,bit
https://foldoc.org/bitwise complement
위 둘은 불_논리,Boolean_logic 불_대수,Boolean_algebra
집합,set에서는 여집합,complement을 뜻함. // pagename set_complement or complement_set
{
작성중
https://foldoc.org/set complement
}
logical_complement - 논리,logic
https://foldoc.org/logical complement
bitwise_complement - 비트,bit
https://foldoc.org/bitwise complement
위 둘은 불_논리,Boolean_logic 불_대수,Boolean_algebra
그래프이론,graph_theory 그래프,graph에선
여그래프 complement_graph { https://ko.wikipedia.org/wiki/여_그래프 https://en.wikipedia.org/wiki/Complement_graph }
(그래프에 대한 여 연산 or 그 결과) graph_complement https://mathworld.wolfram.com/GraphComplement.html
complement graph
여그래프 complement_graph { https://ko.wikipedia.org/wiki/여_그래프 https://en.wikipedia.org/wiki/Complement_graph }
(그래프에 대한 여 연산 or 그 결과) graph_complement https://mathworld.wolfram.com/GraphComplement.html
complement graph
생물학에선 보체,complement를 뜻함 (동물의 혈청,serum 속 단백질,protein의 일종?) https://everything2.com/title/complement system
MERGE: RR: complement (refs.) and RR: 컴플리먼트,complement (none yet)
5.1.1. 관련표현: 'complementation' ¶
QQQ complement vs complementation
혹시 set theory에서, 행동(완전히 상호배제/분리하는 그거) 연산이 complementation이고, 그 결과가 complement인지? chk
complementation5.1.3. 'complementarity' ¶
Wikiadmin
보수가 아닌 일반적 complement
RENAMETHISPAGE to complement_number ?
or complementary number ? complementary number
...
Up: complement?
chk: complementation(complementation complementation .... 번역/pagename이 상당히 마땅치 않다. )이 연산이고 complement이 그 결과(집합일 경우 '나머지', 기타 '상대방', '반대', ..., 전체에서 아까 것을 제외한 나머지, 뭐 대충 이런느낌인데 적절한 용어가?)?
보수가 아닌 일반적 complement
pagename? 한자를 쓴다면 아마 보- 나 여- 중에 하나가 될테고... transliterate하면 아마 컴플리먼트,complement가 될테고.
https://mathworld.wolfram.com/Complement.html
일단 RR complement 페이지는 있음
...https://mathworld.wolfram.com/Complement.html
일단 RR complement 페이지는 있음
RENAMETHISPAGE to complement_number ?
or complementary number ? complementary number
...
Up: complement?
chk: complementation(complementation complementation .... 번역/pagename이 상당히 마땅치 않다. )이 연산이고 complement이 그 결과(집합일 경우 '나머지', 기타 '상대방', '반대', ..., 전체에서 아까 것을 제외한 나머지, 뭐 대충 이런느낌인데 적절한 용어가?)?