Search

Filter

  • Advanced Filters:

  • to
  • Specific Data Sources:

    All Edit

    Select All  |  Select None

Reset filters

A Note on Division of Positive Integers Fred Wilson 3820 Silver Oak St. Dayton OH 45424 At the risk of flaunting a marginal grasp of the obvious I would like to make a few observations on the division of fixed point numbers. At best, division is a pain and should be avoided where possible. However, if we assume t h a t the magnitude of most operands is less t h a n the m a x i m u m representable it m a y be possible to simplify the task by pre-scaling the operands before division. Observation The initial operands. 259/12 = 21 remainder = 7 Leading zeros do contribute to the result. W h a t to do Example 0000 0001 0000 0011 not Scan both operands for the X X X X X X X l 0 0 0 0 0 0 1 1 most significant bit set. Call X X X X X X X O 0 0 0 0 I i 0 0 the lesser shift count i. If there are more significant bits in the divisor t h a n the dividend, this i=7 might be a good place to quit since the result will be zero. Any divisor can be represented Shift the divisor and dividend 1 0 0 0 0 O0 111 as the product of a number right until the least significant 0 0000 11 iO0 I bit of the divisor is set. Any and an integer power of two. bits shifted out of the dividend are the least significant bits of the remainder. Call this shift i=7 j=2 tmp=11 count j. The N bit by M bit division has Perform the division. For ease now been reduced to a (N-i-j) of illustration, the example 0 0 0 0 0 11 by (M-i-j) operation. In this uses long division. case, a 16x16 has been reduced to a 7x7. 0 0101 Ol I 1 0 0 0 0 O0 ii 100 ii 1 O0 ii The remainder from the result=O01 O ~ s ~ f f f ) (7) division is the most significant remainder ~ 1 portion of the final remainder. (The i+j leading zeros of the result are not shown.)

Page 1 of 1

Page 1 of 1

Toggle back to continuous viewing mode

/lp/association-for-computing-machinery/a-note-on-division-of-positive-integers-9qQS0Cs2Ue
Welcome to DeepDyve! Rent Premier Research Articles and Save Up to 90%

Learn more

Free Article

Bookmark

A Note on Division of Positive Integers

Wilson, Fred
ACM SIGMICRO Newsletter , Volume 19 (1-2)
Association for Computing MachineryJun 1, 1988

More Info

More Like This Article

View All dataSource[]=actageo&dataSource[]=aspet&dataSource[]=aaos&dataSource[]=aacc&dataSource[]=aacr&dataSource[]=aea&dataSource[]=aip&dataSource[]=ajnr&dataSource[]=ams&dataSource[]=aps_physical&dataSource[]=appi_book&dataSource[]=appi_journal&dataSource[]=apha&dataSource[]=asip&dataSource[]=asm&dataSource[]=asn&dataSource[]=aspb&dataSource[]=avs&dataSource[]=annual_reviews&dataSource[]=arxiv&dataSource[]=acm&dataSource[]=berghahn&dataSource[]=cabi&dataSource[]=clinical_trials&dataSource[]=dailymed&dataSource[]=degruyter&dataSource[]=du_press&dataSource[]=esa&dataSource[]=eu_press&dataSource[]=elsevier&dataSource[]=emerald&dataSource[]=ejtr&dataSource[]=emea&dataSource[]=epo&dataSource[]=faseb&dataSource[]=gsa&dataSource[]=health_affairs&dataSource[]=hindawi&dataSource[]=imanager&dataSource[]=imedpub&dataSource[]=informa_healthcare&dataSource[]=informs&dataSource[]=iop&dataSource[]=iucr&dataSource[]=iospress&dataSource[]=jbjs&dataSource[]=leftcoast&dataSource[]=lu_press&dataSource[]=mesharpe&dataSource[]=mary_ann_liebert&dataSource[]=medline&dataSource[]=mit_press&dataSource[]=nature&dataSource[]=oxford&dataSource[]=pier_professional&dataSource[]=pnas&dataSource[]=portlandpress&dataSource[]=psyc_articles&dataSource[]=psyc_books&dataSource[]=psyc_critiques&dataSource[]=plos_journal&dataSource[]=pubmed_central&dataSource[]=rsna&dataSource[]=rockefeller&dataSource[]=rcn&dataSource[]=ria&dataSource[]=rsc&dataSource[]=sage&dataSource[]=spie&dataSource[]=springer_journal&dataSource[]=springer&dataSource[]=taylor_francis&dataSource[]=aps&dataSource[]=the_scientist&dataSource[]=uc_press&dataSource[]=uspto_abstract&dataSource[]=wiley&dataSource[]=pct

Browse: Subject Areas | Journals | Publishers

Sign Up for a DeepDyve Account

Bookmark an Article

To bookmark an article, please log in first, or sign up for a DeepDyve account if you don't already have one.

OK

Subscribe to Journal Email Alerts

To subscribe to email alerts, please log in first, or sign up for a DeepDyve account if you don't already have one.

OK

Thank you for renting with DeepDyve

Your PayPal account has been charged $2.99. You now have access to the full text of this article. A rental receipt has also been sent to your email address.

Your credit card has been charged $2.99. You now have access to the full text of this article. A rental receipt has also been sent to your email address.

OK

New! You can now keep track of new articles from ACM SIGMICRO Newsletter on your personalized homepage! Learn more

PDF Download — Not Available

Thanks for your interest in purchasing the PDF. Your request has been noted and we will work with our publisher partner to discuss enabling this feature.

In the meantime, you can get the PDF by visiting the publisher site.

Thank you for purchasing with DeepDyve

Your PayPal account has been charged $.

Your credit card has been charged $.

You can now download this article. A purchase receipt has also been sent to your email address.

Download This Article or I'm done with my download

Print Page — Not Available

Thanks for your interest in printing individual pages. Your request has been noted and we will work with our publisher partner to discuss enabling this feature.

In the meantime, you can get the PDF by visiting the publisher site.

Thank you for printing with DeepDyve

Your PayPal account has been charged $0.

Your credit card has been charged $0.

You can now print this article. A purchase receipt has also been sent to your email address.

Print the Selected Pages or I'm done with my printing

Please refresh to generate a new download link

Your article download link has expired. Please refresh this page to obtain a new download link and try again.

Follow a Journal

To get new article updates from a journal on your personalized homepage, please log in first, or sign up for a DeepDyve account if you don't already have one.

OK