Ultra-long digit addition processing method and computer readable storage medium
A processing method, a technology of the number of bits, applied in the field of information coding and computing, which can solve problems such as low efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0102] Determine the two super long digits A and B that need to be encoded:
[0103] A=120623479892889324486908; B=27801936763830785484783867.
[0104] As mentioned earlier, the specific encoding process is as follows:
[0105] Each character in the variable of A, B string type, for 2 16 Perform rounding and remainder operations to obtain the quotient and remainder, multiply the remainder by 10 and accumulate it as the part to start the operation of the next character, and obtain the remainder as the base of the corresponding layer in the last small cycle, and repeat this process until the string becomes an empty string and the loop ends. A large cycle (all characters in the string cycle once), the remainder result is the base corresponding to the super-long digit level.
[0106] Operate on string A=120623479892889324486908:
[0107] The first big loop, traversing the string: 120623479892889324486908:
[0108] The first small cycle: 1→1 / 2 16 = 0, reminder → 1% 2 16 = 1,...
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