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

  • SEARCH
  • Home
  • 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 8135019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:16:02+00:00 2026-06-06T10:16:02+00:00

Is addition(+) operation more complex than comparison operation (>), both in integer as well

  • 0

Is addition(+) operation more complex than comparison operation (>), both in integer as well as floating point arithmetic? I would appreciate answer in the context of both microprocessor- and FPGA-based systems.

My thought:
I think comparison and addition are the same thing when we talk about microprocessor-based systems because comparison a>b can be solved by checking the sign bit of (a-b), i.e, an addition operation. But, in the context of FPGA-based systems, I guess the complexity of comparison operator can be reduced?

  • 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-06-06T10:16:04+00:00Added an answer on June 6, 2026 at 10:16 am

    Comparison is a bit “simpler” for integers, because we only need to compare each bit from msb to lsb (without a carry bit, which is needed by addition). In terms of complexity, both are O(log n) though.

    But I doubt you can actually measure this small difference in terms of resource usage (logic slices or power consumption).

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

Sidebar

Related Questions

I want nice operators for complex arithmetic to make my code more readable. Ocaml
In addition to this question: iPhone network performance , I would like to know
What's the best way to do base36 arithmetic in Perl? To be more specific,
I'm looking for tutorials which talk about bitwise arithmetic operations, such as addition, subtraction,
I'm frequently building controllers where i would like multiple methods (in addition to index,
The IList<T> interface includes access by index in addition to operations not supported by
I'm building a Matrix class for all the operations such as addition, subtraction, multiplication,
In addition to the datastore for your specific site, can you also share one
In addition to jquery plugin options, I want to override those values with html5
Objective Initialize a new addition problem for users to solve when they visit /task

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.