Floating-point number operation method and device

The invention discloses a floating-point number operation method, and the method comprises the steps of determining a first storage position of a first floating-point number and a second storage position of a second floating-point number according to a pre-stored relation which is used for recording...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HUANG JIANGLE, XU XIAOXIN, ZHANG WEI, PAN QIUPING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a floating-point number operation method, and the method comprises the steps of determining a first storage position of a first floating-point number and a second storage position of a second floating-point number according to a pre-stored relation which is used for recording a corresponding relation between a sorting result of a plurality of floating-point numbers in the floating-point number operation and the storage position of each floating-point number; respectively acquiring the first floating-point number and the second floating-point number according to the first storage position and the second storage position; and completing operation processing of the first floating-point number and the second floating-point number according to the type of the floating-point number operation. 一种浮点数运算方法,该方法包括:根据预存关系确定第一浮点数的第一存储位置和第二浮点数的第二存储位置,所述预存关系用于记录所述浮点数运算中多个浮点数排序结果和每个浮点数的存储位置的对应关系;根据所述第一存储位置和所述第二存储位置分别获取所述第一浮点数和所述第二浮点数;根据所述浮点数运算的类型,完成所述第一浮点数和所述第二浮点数的运算处理。