Skip to main content

Fixed-Point Comparison

  • Chapter
  • First Online:
Application-Specific Arithmetic

Abstract

This chapter studies the comparison of two binary numbers in order to rank them. In a generic-purpose processor, such a comparison is usually performed by subtraction, using an existing integer adder. Assuming that the synthesis tools will remove all the hardware that computes the sum bits, this approach is valid in an application-specific architecture. However, devising integer comparison from first principles allows for specific optimizations in some contexts.

All animals are equal, but some animals are more equal than others.G. Orwell, Animal Farm

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 139.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 179.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Stefania Perri, Paolo Zicari, and Pasquale Corsonello. “Efficient Absolute Difference Circuits in Virtex-5 FPGAs”. In: 5th IEEE Mediterranean Electrotechnical Conference (Melecon). IEEE. 2010, pp. 309–313.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2024 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

de Dinechin, F., Kumm, M. (2024). Fixed-Point Comparison. In: Application-Specific Arithmetic. Springer, Cham. https://doi.org/10.1007/978-3-031-42808-1_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-42808-1_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-42807-4

  • Online ISBN: 978-3-031-42808-1

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics