Safe floating point operation method and system
A floating-point calculation and floating-point calculation technology, which is applied in calculation, instrumentation, electrical digital data processing, etc., can solve the problems of poor real-time performance, large consumption of computing resources, and low efficiency, so as to ensure safety, consume less computing resources, and high efficiency effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] based on the following figure 1 Preferred embodiments of the present invention will be described in detail.
[0023] The present invention provides a floating-point calculation method, comprising the following steps:
[0024] Step S1. Use the standard hard floating-point computing unit (FPU) built into the general-purpose computing CPU to calculate the incoming floating-point numbers (x1, x2...) to obtain a floating-point number calculation result (Y). There are only hard floating-point calculations, and floating-point safe calculations cannot be implemented.
[0025] Step S2, convert the incoming floating-point numbers (x1, x2...) into fixed-point numbers (x_1, x_2), calculate the fixed-point numbers (x_1, x_2), obtain the fixed-point number calculation result (Z), and convert the fixed-point number calculation result (Z) is converted to a float (Z1).
[0026] Step S3, compare the floating-point number (Z1) with the previous calculation result (Y) to check whether t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com