KR100974190B1 - 부동 소수점을 이용한 복소수 곱셈방법 - Google Patents
부동 소수점을 이용한 복소수 곱셈방법 Download PDFInfo
- Publication number
- KR100974190B1 KR100974190B1 KR1020080130221A KR20080130221A KR100974190B1 KR 100974190 B1 KR100974190 B1 KR 100974190B1 KR 1020080130221 A KR1020080130221 A KR 1020080130221A KR 20080130221 A KR20080130221 A KR 20080130221A KR 100974190 B1 KR100974190 B1 KR 100974190B1
- Authority
- KR
- South Korea
- Prior art keywords
- exponent
- significant
- sum
- complex
- complex number
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/4806—Computations with complex numbers
- G06F7/4812—Complex multiplication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/483—Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers
- G06F7/487—Multiplying; Dividing
- G06F7/4876—Multiplying
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computational Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Nonlinear Science (AREA)
- Complex Calculations (AREA)
Abstract
Description
Claims (9)
- (A) 실수부와 허수부로 구성되고 상기 실수부와 상기 허수부는 각각 부호부, 지수부, 유효숫자부를 포함하는 부동 소수점 비트열 형태인 2개의 복소수(이하, '제 1 복소수', '제 2 복소수'라 함)를 입력받는 단계;(B) 상기 제 1 복소수의 실수부와 상기 제 2 복소수의 실수부에 대한 각각의 지수부의 합(이하, 'AC 지수합'이라 함)을 구하고, 상기 제 1 복소수의 허수부와 상기 제 2 복소수의 허수부에 대한 각각의 지수부의 합(이하, 'BD 지수합'이라 함)을 구한 후 상기 두 합의 차의 절대값(이하, '실수부 지수차'라 함)을 산출하는 단계;(C) 상기 제 1 복소수의 실수부와 상기 제 2 복소수의 실수부에 대한 각각의 유효숫자부의 곱(이하, 'AC 유효숫자곱'이라 함)을 구하고, 상기 제 1 복소수의 허수부와 상기 제 2 복소수의 허수부에 대한 각각의 유효숫자부의 곱(이하, 'BD 유효숫자곱'이라 함)을 구하는 단계;(D) 상기 AC 유효숫자곱과 상기 BD 유효숫자곱 중 상기 지수부의 합이 작은 값을 상기 실수부 지수차만큼 오른쪽으로 쉬프트시킨 후 상기 두 값의 차를 산출하고 이를 복소수 곱셈 결과값 중 실수부의 유효숫자부로 설정하여 출력하는 단계; 및(E) 상기 AC 지수합과 상기 BD 지수합 중 큰 값에 상기 두 유효숫자곱의 차에 따른 캐리값을 적용하고 바이어스값을 뺀 후 복소수 곱셈 결과값 중 실수부의 지수부로 설정하여 출력하는 단계;를 포함하여 구성되는 복소수 곱셈방법.
- 청구항 1에 있어서,상기 복소수 곱셈방법은,상기 (B) 단계는 상기 제 1 복소수의 실수부와 상기 제 2 복소수의 허수부에 대한 각각의 지수부의 합(이하, 'AD 지수합'이라 함)을 구하고, 상기 제 1 복소수의 허수부와 상기 제 2 복소수의 실수부에 대한 각각의 지수부의 합(이하, 'BC 지수합'이라 함)을 구한 후 상기 두 합의 차의 절대값(이하, '허수부 지수차'라 함)를 산출하는 단계;를 더 포함하고,상기 (C) 단계는 상기 제 1 복소수의 실수부와 상기 제 2 복소수의 허수부에 대한 각각의 유효숫자부의 곱(이하, 'AD 유효숫자곱'이라 함)을 구하고, 상기 제 1 복소수의 허수부와 상기 제 2 복소수의 실수부에 대한 각각의 유효숫자부의 곱(이하, 'BC 유효숫자곱'이라 함)을 구하는 단계;를 더 포함하고,상기 (D) 단계는 상기 AD 유효숫자곱과 상기 BC 유효숫자곱 중 상기 지수부의 합이 작은 값을 상기 허수부 지수차만큼 오른쪽으로 쉬프트시킨 후 상기 두 값의 합을 산출하고 이를 복소수 곱셈 결과값 중 허수부의 유효숫자부로 설정하여 출력하는 단계;를 더 포함하고,상기 (E) 단계는 상기 AD 지수합과 상기 BC 지수합 중 큰 값에 상기 두 유효숫자곱의 합에 따른 캐리값을 적용하고 바이어스값을 뺀 후 복소수 곱셈 결과값 중 허수부의 지수부로 설정하여 출력하는 단계;를 더 포함하여 구성되는 복소수 곱셈방법.
- 청구항 2에 있어서,상기 (D) 단계는,상기 AC 유효숫자곱과 상기 BD 유효숫자곱의 차를 일정 비트열 길이로 라운딩한 후 이를 상기 결과값의 실수부의 유효숫자부로 설정하는 단계; 및상기 AD 유효숫자곱과 상기 BC 유효숫자곱의 합을 일정 비트열 길이로 라운딩한 후 이를 상기 결과값의 허수부의 유효숫자부로 설정하는 단계;를 포함하여 구성된 것을 특징으로 하는 복소수 곱셈방법.
- 청구항 3에 있어서,상기 (B) 단계는,상기 제 1 복소수의 실수부, 상기 제 1 복소수의 허수부, 상기 제 2 복소수의 실수부, 상기 제 2 복소수의 허수부에 대한 각각의 유효숫자부를 구성하는 비트열에 1비트를 추가하고 각각의 히든 비트를 상기 추가 비트에 복원하는 단계;를 더 포함하여 구성되는 복소수 곱셈방법.
- (A) 부호부, 지수부, 유효숫자부를 포함하는 4개의 부동 소수점 비트열을 입력받는 단계;(B) 상기 부동 소수점 비트열 중 2개 비트열(이하, '1 그룹'이라 함)의 지수부의 합을 구하고 나머지 2개 비트열(이하, '2 그룹'이라 함)의 지수부의 합을 구한 후 상기 두 합의 차(이하, '지수차'라 함)를 산출하는 단계;(C) 상기 1 그룹에 속한 2개 비트열의 유효숫자부의 곱을 구하고, 상기 2 그룹에 속한 2개 비트열의 유효숫자부의 곱을 구하는 단계;(D) 상기 두 곱 중 하나를 상기 지수차만큼 쉬프트시킨 후 두 곱의 합을 산출하고 이를 결과값의 유효숫자부로 설정하여 출력하는 단계; 및(E) 상기 (B) 단계의 두 합 중 큰 값에 상기 두 곱의 합에 따른 캐리값을 적용하고 바이어스값을 뺀 후 결과값의 지수부로 설정하여 출력하는 단계;를 포함하여 구성되는 복소수 곱셈 방법.
- 청구항 5에 있어서,상기 (D) 단계는,상기 두 곱의 합을 일정 비트열 길이로 라운딩한 후 이를 상기 결과값의 유효숫자부로 설정하는 단계;를 포함하여 구성된 것을 특징으로 하는 복소수 곱셈 방법.
- (A) 부호부, 지수부, 유효숫자부를 포함하는 4개의 부동 소수점 비트열을 입력받는 단계;(B) 상기 부동 소수점 비트열 중 2개 비트열(이하, '1 그룹'이라 함)의 지수부의 합을 구하고 나머지 2개 비트열(이하, '2 그룹'이라 함)의 지수부의 합을 구한 후 상기 두 합의 차(이하, '지수차'라 함)를 산출하는 단계;(C) 상기 1 그룹에 속한 2개 비트열의 유효숫자부의 곱을 구하고, 상기 2 그룹에 속한 2개 비트열의 유효숫자부의 곱을 구하는 단계;(D) 상기 두 곱 중 하나를 상기 지수차만큼 쉬프트시킨 후 두 곱의 차를 산출하고 이를 결과값의 유효숫자부로 설정하여 출력하는 단계; 및(E) 상기 (B) 단계의 두 합 중 큰 값에 상기 두 곱의 차에 따른 캐리값을 적용하고 바이어스값을 뺀 후 결과값의 지수부로 설정하여 출력하는 단계;를 포함하여 구성되는 복소수 곱셈 방법.
- 청구항 7에 있어서,상기 (D) 단계는,상기 두 곱의 차를 일정 비트열 길이로 라운딩한 후 이를 상기 결과값의 유효숫자부로 설정하는 단계;를 포함하여 구성된 것을 특징으로 하는 복소수 곱셈 방법.
- 청구항 5 내지 청구항 8 중 어느 한 항에 있어서,상기 (B) 단계는 상기 부동 소수점 비트열의 각 유효숫자부에 대하여 1비트를 추가하고 각각의 히든 비트를 상기 추가 비트에 복원하는 단계;를 더 포함하여 구성되는 복소수 곱셈 방법.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080130221A KR100974190B1 (ko) | 2008-12-19 | 2008-12-19 | 부동 소수점을 이용한 복소수 곱셈방법 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080130221A KR100974190B1 (ko) | 2008-12-19 | 2008-12-19 | 부동 소수점을 이용한 복소수 곱셈방법 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100071487A KR20100071487A (ko) | 2010-06-29 |
KR100974190B1 true KR100974190B1 (ko) | 2010-08-05 |
Family
ID=42368979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080130221A KR100974190B1 (ko) | 2008-12-19 | 2008-12-19 | 부동 소수점을 이용한 복소수 곱셈방법 |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100974190B1 (ko) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317774B (zh) * | 2014-10-14 | 2017-07-04 | 中国航天科技集团公司第九研究院第七七一研究所 | 利用处理器浮点单元进行复数乘和蝶形运算的装置和方法 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020004809A1 (en) * | 1998-10-12 | 2002-01-10 | Golliver Roger A. | Data manipulation instruction for enhancing value and efficiency of complex arithmetic |
JP2003016051A (ja) | 2001-06-29 | 2003-01-17 | Nec Corp | 複素ベクトル演算プロセッサ |
KR20080089313A (ko) * | 2007-03-30 | 2008-10-06 | 인텔 코오퍼레이션 | 곱셈 기능을 수행하기 위한 방법 및 장치 |
-
2008
- 2008-12-19 KR KR1020080130221A patent/KR100974190B1/ko active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020004809A1 (en) * | 1998-10-12 | 2002-01-10 | Golliver Roger A. | Data manipulation instruction for enhancing value and efficiency of complex arithmetic |
JP2003016051A (ja) | 2001-06-29 | 2003-01-17 | Nec Corp | 複素ベクトル演算プロセッサ |
KR20080089313A (ko) * | 2007-03-30 | 2008-10-06 | 인텔 코오퍼레이션 | 곱셈 기능을 수행하기 위한 방법 및 장치 |
Also Published As
Publication number | Publication date |
---|---|
KR20100071487A (ko) | 2010-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105468331B (zh) | 独立的浮点转换单元 | |
JP6360450B2 (ja) | 浮動小数点オペランドを乗算するためのデータ処理装置及び方法 | |
US9367287B2 (en) | Mixed precision fused multiply-add operator | |
KR102627299B1 (ko) | 부동소수점 곱셈 장치 및 방법 | |
CN107769791B (zh) | 用于定点到浮点的转换的装置和方法及2的负幂检测器 | |
US8046399B1 (en) | Fused multiply-add rounding and unfused multiply-add rounding in a single multiply-add module | |
US8812575B2 (en) | Decimal floating-point square-root unit using Newton-Raphson iterations | |
CN107273090A (zh) | 面向神经网络处理器的近似浮点乘法器及浮点数乘法 | |
US20060047739A1 (en) | Decimal floating-point adder | |
CN106250098B (zh) | 用于在执行浮点运算时控制舍入的装置及方法 | |
US10949168B2 (en) | Compressing like-magnitude partial products in multiply accumulation | |
CN108196822A (zh) | 一种双精度浮点开方运算的方法及系统 | |
CN111936965A (zh) | 随机舍入逻辑 | |
WO2010138432A1 (en) | Integer multiply and multiply-add operations with saturation | |
CN116643718A (zh) | 一种流水线结构的浮点融合乘加装置、方法及处理器 | |
US7752250B2 (en) | Rounding floating point division results | |
GB2265741A (en) | Computation of sticky-bit in parallel with multiplication | |
JP7285966B2 (ja) | 多入力浮動小数点加算器 | |
CN108153513B (zh) | 前导零预测 | |
Moroz et al. | Efficient floating-point division for digital signal processing application [Tips & Tricks] | |
US6598065B1 (en) | Method for achieving correctly rounded quotients in algorithms based on fused multiply-accumulate without requiring the intermediate calculation of a correctly rounded reciprocal | |
KR100974190B1 (ko) | 부동 소수점을 이용한 복소수 곱셈방법 | |
JP6919539B2 (ja) | 演算処理装置および演算処理装置の制御方法 | |
JPH04355827A (ja) | 開平演算装置 | |
US20160085508A1 (en) | Optimized structure for hexadecimal and binary multiplier array |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20130604 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20140609 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20150601 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20160603 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20170607 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20180625 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20190612 Year of fee payment: 10 |