Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7510967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:23:47+00:00 2026-05-29T23:23:47+00:00

I’m looking for tutorials which talk about bitwise arithmetic operations, such as addition, subtraction,

  • 0

I’m looking for tutorials which talk about bitwise arithmetic operations, such as addition, subtraction, multiplication and division, maybe other operators more complicated like modular, inverse modular etc.

Actually I’m trying to implement a big number library for an embedded system on which there is no such library. So I’d like to learn how to handle signed big integers and how to do arithmetic calculations by manipulating bits. Now the only idea I have is to hold my big integer in a big uint8_t array with 1 bit reserved for sign. For example, if I need a 160-bit integer, then I need an array uint8_t num[21].

What are the basic knowledge that I have to learn ? I’ve searched on Google but I haven’t found many well explained tutorials. Or more exactly I don’t know what are the keywords that I have to use.

So I need your suggestions. If you know where I can find interesting tutorials, please post links here. PDFs, web pages, videos anything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T23:23:49+00:00Added an answer on May 29, 2026 at 11:23 pm

    The topic you’re interested in is called arbitrary precision arithmetic.

    Further information can be found here: http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic

    As far as “basic knowledge” is concerned: you will need to learn algorithms for performing arithmetic. you will also need a fairly competent understanding of dynamic memory management. I suspect your approach using arrays can be very clumsy and wasteful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I would like to count the length of a string with PHP. The string
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.