home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 19074 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  879 b 

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sun4nl!dutrun!donau!einstein.et.tudelft.nl!arlet
  2. From: arlet@einstein.et.tudelft.nl (Arlet Ottens)
  3. Newsgroups: comp.lang.c
  4. Subject: WANTED: Fast addition for 64-bits integers in C
  5. Message-ID: <1992Dec31.142337.28023@donau.et.tudelft.nl>
  6. Date: 31 Dec 92 14:23:37 GMT
  7. Sender: news@donau.et.tudelft.nl (UseNet News System)
  8. Organization: Delft University of Technology, Dept. of Electrical Engineering
  9. Lines: 12
  10. Nntp-Posting-Host: einstein.et.tudelft.nl
  11.  
  12. Hello world,
  13.  
  14. I want to make an implementation of 64-bit integers in C, using
  15. a pair of 32-bit integers.
  16.  
  17. What is the most optimal way to implement an addition and a subtraction
  18. function in C for these integers ? 
  19.  
  20. Consider the cost of normal integer operations, like + - << >> & ^ | 
  21. to be 1 processor cycle.
  22.  
  23. Please reply by E-mail, I'll post a summary if I get some "me-too's".
  24.