What do you mean by 'output'?
You want a function whose return value is the sum?
You want the value written to stdout (this complicates the requirement by an order of magnitude)?
What kind of numbers?
In this context, 'architecture' should include much more than the CPU type. OS, if any, high-level language parameter passing, if any, numeric format, toolchain compatbility, etc.
You'll find that most of us here aren't particularly motivated by your priorities. If you need something done on a timely basis, there are paid consultants to serve you, commensurate with your budget. In that case, you could economize by articulating the requirements with considerably greater detail.
--- rod.
Last edited by theNbomr; 03-29-2011 at 02:15 PM.
|