Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- register
- 리펙토링
- TCP
- network
- Public IP
- 공인 IP
- Clean code
- Sector
- refactoring
- 코드 컴플릿
- L3 Router
- 명령어
- ALU
- L2 switch
- 클린 코드
- MMU
- page
- float
- addressing mode
- osi 7
- Code complete
- 가독성
- floating point
- CPU
- private ip
- 사설 IP
- cache
- ack
- physical address
- interrupt
Archives
- Today
- Total
Software Lab
2. 실수 구조 #2 본문
10진수 실수 23.738을 부동소수점 구조로 변환해보자.
1.xxxx 형식의 2진수 실수로 변환 한다. 부호부(sign), 지수부(exponent), 가수부(mantissa) 를 구할수 있다. 지수부에서 지수가 음수일 경우, 그것을 표현하기 위해 Bias를 더한다.
위의 결과는 다음과 같이 부동소수점 구조에 들어가게 된다.
위의 부동소수점 값을 역으로 변환해보면 23.738001 이 된다.
'컴퓨터 구조 > Floting Point Arithmetic' 카테고리의 다른 글
3. 실수 연산 (0) | 2022.08.02 |
---|---|
1. 실수 구조 #1 (0) | 2022.08.02 |
Comments