Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

43 results about "Single-precision floating-point format" patented technology

Single-precision floating-point format is a computer number format, usually occupying 32 bits in computer memory; it represents a wide dynamic range of numeric values by using a floating radix point. A floating-point variable can represent a wider range of numbers than a fixed-point variable of the same bit width at the cost of precision. A signed 32-bit integer variable has a maximum value of 2³¹ − 1 = 2,147,483,647, whereas an IEEE 754 32-bit base-2 floating-point variable has a maximum value of (2 − 2⁻²³) × 2¹²⁷ ≈ 3.4028235 × 10³⁸. All integers with 7 or fewer decimal digits, and any 2 for a whole number −149 ≤ n ≤ 127, can be converted exactly into an IEEE 754 single-precision floating-point value.

Method and device for processing floating-point number

Embodiments of the invention disclose a method and a device for processing floating-point numbers. The method comprises: obtaining a first target floating-point number X and a second target floating-point number Y; obtaining an operation rule of the X and the Y; under the condition that the X and the Y are not zero, performing exponent matching on the X and the Y; calculating the exponent of a final result; respectively segmenting the mantissas of the X and the Y whose exponents are matched, and respectively calculating results of each segment data of the mantissa of the X and each segment data of the mantissa of the Y; according to calculation result, generating a final mantissa; according to the final mantissa and the exponent obtained by calculation, generating a calculation result; and performing normalizing processing on the calculation result, to obtain a final calculation result. Using the method, the mantissa of a floating-point number with high precision is segmented, and each segment of mantissa is converted to the floating-point number with single precision to calculate, so that lower-end CPU products which do not have double-precision floating-point number computing power have high-precision floating-point number computing power, and computing power of the lower-end CPU products on the high-precision floating-point number is improved.
Owner:BEIJING QIYI CENTURY SCI & TECH CO LTD

Method and device for processing floating-point number

Embodiments of the invention disclose a method and a device for processing floating-point numbers. The method comprises: obtaining a first target floating-point number X and a second target floating-point number Y; obtaining an operation rule of the X and the Y; determining whether the X and the Y are not zero; if the X and the Y are not zero, and exponents of the X and the Y are not equal, matching exponents of the X and the Y; respectively segmenting the mantissas of the X and the Y whose exponents are matched, converting each segment of data to a floating-point number with single precision; respectively calculating results of mantissa corresponding segment data, according to result of each segment of data obtained by calculation, generating final mantissas; and generating a calculation result; and performing normalizing processing on the calculation result. Using the method, the mantissa of a floating-point number with high precision is segmented, and each segment of mantissa is converted to the floating-point number with single precision to calculate, so that lower-end CPU products which do not have double-precision floating-point number computing power have high-precision floating-point number computing power, and computing power of the lower-end CPU products on the high-precision floating-point number is improved.
Owner:BEIJING QIYI CENTURY SCI & TECH CO LTD

FPGA-based doubly-fed wind motor electromagnetic transient simulation method and simulation system

The invention discloses an FPGA-based doubly-fed wind motor electromagnetic transient simulation method and simulation system, and belongs to the technical field of power system simulation and the field of hardware calculation acceleration. The FPGA-based doubly-fed wind motor electromagnetic transient simulation method comprises the following steps: performing real-time simulation on a decoupleddoubly-fed wind motor circuit on an FPGA according to an equivalent circuit model of a wind motor; rapidly realizing a parameter updating module of the wind power motor by utilizing an HLS high-levelcomprehensive technology, so that the development period of a hardware system is shortened; meanwhile, carrying out simulation calculation by using a single-precision floating-point number in the parameter updating module, so that the utilization rate of FPGA hardware resources is reduced while relatively high calculation precision is kept; and by adopting Park transformation, reducing repeated calculation of a parameter updating area, and further reducing hardware resource consumption. The FPGA-based doubly-fed wind motor electromagnetic transient simulation method and simulation system havethe advantages of being the clear and definite in system structure, being convenient to transplant and expand, being excellent in simulation performance, and being capable of achieving real-time simulation, thus being particularly suitable for electromagnetic transient real-time simulation calculation of the doubly-fed wind motor on an FPGA parallel architecture platform.
Owner:SHANGHAI JIAO TONG UNIV +1

Arbitrary power square root solving method for single-precision floating-point number and solver of arbitrary power square root solving method

The invention provides an arbitrary power square root solving method for a single-precision floating-point number and a solver of the arbitrary power square root solving method. The solver comprises:a division calculation module for carrying out division operation on an input power root value N; an arc tangent value calculation module for carrying out arc tangent value calculation operation on amantissa part M of the input single-precision floating-point number and obtaining a log2M; a calculation module for carrying out multiplication and addition operation on an exponent part E of a single-precision floating-point number, a reciprocal 1/N of the root value N of the power and the log2M of the numerical value; a sine and cosine calculation module for solving hyperbolic sine and cosine values with 2 as the bottom for the calculation result obtained by the calculation module; and a calculation result integration module for summing the solved hyperbolic sine and hyperbolic cosine valuesand integrating the sum with an intermediate calculation result of the index part E to obtain a final calculation result in a single-precision floating-point number format. The solver provided by theinvention can calculate any power root value of any single-precision floating-point number, and has certain universality.
Owner:NANJING UNIV

Data conversion method, multiplier, adder, terminal device and storage medium

The invention relates to a data conversion method, a multiplier, an adder, terminal equipment and a storage medium. The method comprises the following steps: inputting a floating-point number F; converting the input floating-point number F according to the following conversion rules: a formula (shown in the description), ai is an integer number, each integer number is n bits, i is a serial number,and k is the number of integer numbers; according to the converted floating-point number F, setting the converted new standard number as a number formed by arranging k integer numbers ai of n bits from high to low in a descending order or ascending order; when the floating-point number F is equal to 0, enabling the k integer numbers of n bits to be all negative infinity; and outputting the converted new standard number. According to the method, the advantage of large numerical representation range of the single-precision floating-point number is reserved, and the calculation overhead of the floating-point number multiplication operation is reduced, so that the calculation overhead of the deep neural network algorithm can be reduced, and a solution is provided for the deployment of the deep neural network algorithm on low-cost and low-power equipment.
Owner:JIMEI UNIV

PLC floating-point number and fixed-point number mutual conversion control system and method

The invention belongs to the technical field of PLC control, and discloses a PLC floating-point number and fixed-point number mutual conversion control system and method. The system comprises: a central controller port, which is used for controlling an external storage controller and a floating-point number arithmetic operation module through a data bus, an address bus and a control bus; the external storage controller, which is used for transmitting operands to a register file module, a data distribution module, a queue module, an accumulator module and a floating-point operation module through internal data channel lines; and the floating-point number arithmetic operation module, which is used for carrying out single-precision floating-point number operation. According to the invention,the mutual conversion efficiency of the floating-point number and the fixed-point number is improved, and the conversion precision is high; a small PLC with an ARM-FPGA framework is adopted, an ARM serves as a control center, the high-speed parallel operation performance of an FPGA is applied, a control logic unit for mutual conversion of floating-point and fixed-point numbers is implanted into the FPGA processor, the defects of a single module are overcome, and high conversion precision and efficiency are achieved.
Owner:GREE ELECTRIC APPLIANCES INC

Single-precision floating-point arithmetic operation control system and method for small PLC

The invention belongs to the technical field of PLC control. The invention discloses a single-precision floating-point arithmetic operation control system and method for a small PLC. After an ARM maincontroller completes data configuration of an FPGA control module, the ARM main controller sends an operation instruction of single-precision floating-point operands to a dual-port RAM, then a central controller sends a bit instruction to a addressing storage control module to finish addressing and storage of the floating point operands, a single-precision floating point operand arithmetic operation module performs arithmetic operation on the addressing and storage floating point operands, and the central controller of the FPGA control module reads a single-precision operation instruction from the dual-port RAM. According to the invention, an ARM+FPGA is adopted, the ARM serves as a control center, the advantage of cooperative work of the ARM and an FPGA is fully utilized, high-speed parallel operation performance of the FPGA is used for achieving single-precision floating-point operand arithmetic operation, and a computer inputs an instruction from a human-computer interface of a PLCediting module according to an operation code and an operand.
Owner:GREE ELECTRIC APPLIANCES INC

A Method for Solving Arbitrary Roots of Single-precision Floating-point Numbers and Its Solver

The invention provides a method and a solver for solving an arbitrary power root of a single-precision floating-point number. The solver includes: a division calculation module, which is used to divide the input power root value N; an arctangent value calculation module, which is used to calculate the arctangent value of the mantissa part M of the input single-precision floating-point number and obtain Log value log 2 M; Calculation module, used for the exponent part E of the single-precision floating-point number, the reciprocal 1 / N of the root value N and the logarithmic value log 2 M performs multiplication and addition operations; the sine and cosine calculation module is used to calculate the base 2 hyperbolic sine and cosine values ​​for the calculation results obtained by the calculation module; the calculation result integration module uses the obtained hyperbolic sine and hyperbolic cosine The values ​​are summed and integrated with the intermediate calculation result of the exponent part E to obtain the final calculation result in single-precision floating-point format. The solver of the present invention can calculate any root value of any single-precision floating-point number, and has certain generality.
Owner:NANJING UNIV

Method and device for processing floating point numbers

The embodiment of the present invention discloses a floating-point number processing method and device. The method includes: obtaining the first target floating-point number X and the second target floating-point number Y; obtaining the algorithm of X and Y; judging whether X and Y are not zero ;If both X and Y are not zero and the order codes of X and Y are not equal, then for order X and Y; the mantissas of X and Y after the order will be segmented respectively, and each segment of data will be converted to single precision Floating-point numbers; respectively calculate the results of the corresponding segment data of the mantissas of X and Y; generate the final mantissa according to the calculated results of each segment of data; then generate the calculation results; and normalize the calculation results. By applying the embodiment of the present invention, the mantissa of the high-precision floating-point number is segmented, and each segment of the mantissa is converted into a single-precision floating-point number for calculation, so that low-end GPU products that do not have the ability to calculate double-precision floating-point numbers have high-precision floating-point numbers. The calculation ability of points has improved the calculation ability of low-end GPU products for high-precision floating-point numbers.
Owner:BEIJING QIYI CENTURY SCI & TECH CO LTD

An arbitrary order Kalman filtering system

The invention relates to an arbitrary-order Kalman filtering system, comprising: a configurable memory array comprising a plurality of memory banks, wherein the memory banks are globally shared; a configurable computing array, including single-precision floating-point number multiplier, a single-precision floating-point number adder and a single-precision floating-point number divider; a matrix basic operation module, completing matrix addition, matrix subtraction, matrix transposition and matrix inversion; and the global configurable computing array is shared by time-sharing multiplexing; a state machine, according to the recurrence equation of the Kalman filter algorithm, the matrix basic operation module is called step by step, the intermediate result of the matrix basic operation module is stored in the memory array, and then the intermediate result is called according to the recurrence equation. The invention multiplexes the computing resource array and the storage resource arraythrough time-sharing and folding mode, thereby effectively reducing resources and area, and reducing power consumption. Multi-path parallel method is used to design the basic matrix operation, which can effectively improve the real-time performance and data processing ability of the system design.
Owner:NANJING UNIV

An arithmetic logic unit, a floating point number processing method, a gpu chip, and an electronic device

The present disclosure provides an arithmetic logic unit, including a specific multiplier-adder and a floating-point number control circuit; the specific multiplier-adder is obtained by transforming a single-precision floating-point number multiplier-adder; the floating-point number control circuit is used for receiving Three double-precision floating-point numbers to be multiplied and added, the three double-precision floating-point numbers include two multipliers and one addend, the calculation object of a specific multiplier-adder is determined according to the mantissa of the two multipliers, and the The calculation object is input to the specific multiplier-adder; the specific multiplier-adder is used to multiply the input calculation object, and return the calculation result to the floating-point number control circuit; the floating-point number control circuit is used to receive the specific multiplication and addition The calculation result of the device is obtained, and the product result of the two multipliers is obtained according to the calculation result; the product result is added with the addend to obtain the multiplication and addition result of the three double-precision floating-point numbers, so The result of the multiplication and addition is a double-precision floating-point number.
Owner:XIANGDIXIAN COMPUTING TECH (CHONGQING) CO LTD

Method and device for processing floating point numbers

Embodiments of the invention disclose a method and a device for processing floating-point numbers. The method comprises: obtaining a first target floating-point number X and a second target floating-point number Y; obtaining an operation rule of the X and the Y; under the condition that the X and the Y are not zero, performing exponent matching on the X and the Y; calculating the exponent of a final result; respectively segmenting the mantissas of the X and the Y whose exponents are matched, and respectively calculating results of each segment data of the mantissa of the X and each segment data of the mantissa of the Y; according to calculation result, generating a final mantissa; according to the final mantissa and the exponent obtained by calculation, generating a calculation result; and performing normalizing processing on the calculation result, to obtain a final calculation result. Using the method, the mantissa of a floating-point number with high precision is segmented, and each segment of mantissa is converted to the floating-point number with single precision to calculate, so that lower-end CPU products which do not have double-precision floating-point number computing power have high-precision floating-point number computing power, and computing power of the lower-end CPU products on the high-precision floating-point number is improved.
Owner:BEIJING QIYI CENTURY SCI & TECH CO LTD

Method for realizing single-precision floating-point number accumulative error control in down-conversion based on GPU (Graphics Processing Unit)

ActiveCN114510268AShort debugging and development cycleStop the spreadConcurrent instruction executionSimulationTerm memory
The invention discloses a method for realizing accumulative error control in down-conversion based on a GPU (Graphics Processing Unit), which relates to the technical field of communication, and can be used for strictly controlling the accumulative error among K limited data points by analyzing the values of the frequency resolution, the actual sampling frequency and the down-conversion frequency required by engineering and calculating the relationship among the three values. And the phase value is returned to zero every K points, so that the propagation of error accumulation is prevented. According to the method, a lookup table is not used for calculating the phase value, precious on-chip memory resources are saved, the resource utilization rate is higher, accumulated errors are controlled within limited data points, and error accumulation is smaller. According to the method for calculating the accumulation of the control errors of the down-conversion based on the GPU, aiming at the relation between the local frequency of the down-conversion and the sampling frequency, the accuracy requirement is met while the frequency of the down-conversion is ensured to be flexible and variable, and calculation results show that the accumulation errors can be effectively controlled at the order of magnitude of 1e-8.
Owner:PLA PEOPLES LIBERATION ARMY OF CHINA STRATEGIC SUPPORT FORCE AEROSPACE ENG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products