# 진법 및 비트 단위

### 십진수, 16진수, 2진수 및 8진수

Soulver는 베이스 2(2진수), 8진수(베이스 8) 및 16진수(베이스 16)를 지원하며, 이들 간 변환을 위해 다양한 형식을 지원합니다.

```
# 변환기
256을 16진수로         | 0x100
99를 2진수로           | 0b1100011
0x9F31을 십진수로      | 40,753
0b1000101을 8진수로    | 0o105

# 구문
0b101101을 8진수로    | 0o55
0x2D를 2진수로        | 0b101101

# Python 스타일 함수
int(0o55)              | 45
hex(99)                | 0x63
bin(0x73)              | 0b1110011
```

### 비트 단위 연산자

| 연산자        | 이름            |
| ---------- | ------------- |
| & 또는 AND   | 비트 단위 AND     |
| \| 또는 OR   | 비트 단위 OR      |
| xor 또는 XOR | 비트 단위 XOR     |
| <<         | 비트 단위 왼쪽 시프트  |
| >>         | 비트 단위 오른쪽 시프트 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.soulver.app/ko/undefined/bases-and-bitwise.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
