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