Method and device for confirming leading zero number of binary data
A technology of binary data and leading zeros, applied in the direction of dynamic coding, etc., can solve the problems of unfixed number of design levels, slow processing speed, slow operation speed, etc., to avoid uncertain processing cycle and improve processor performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] The present invention will be further described below in conjunction with the accompanying drawings of the specification.
[0040] The method for determining the number of leading zeros in binary data according to the embodiment of the present invention includes the following steps:
[0041] Convert leading zeros in binary data into corresponding ones;
[0042] Converting all data after the first 1 on the most significant side of the binary data into zeros;
[0043] Finally, the number of leading zeros in the binary data is calculated by addition.
[0044] The conversion of the leading zeros in the binary data into the corresponding number of 1 is specifically:
[0045] Group the binary data from high order to low order, and divide every two bits of data into one group;
[0046] Perform the first data bit conversion for each group of data, among which, the conversion mode is: 00→11, 01→10, 10→00, 11→00.
[0047] The conversion of all the data after the first 1 on the highest bit sid...
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