Michael Shapiro writes:
> Every aggregating function has to have a defined, fixed type, that determines
> how its implementation in kernel and userland, a portion of which is quoted
> above, performs the underlying arithmetic.  Since our original release, the
> type signatures of the aggregating functions to which you are referring
> have their signature as: sum(uint64_t arg), and so on.

Ah, that's too bad.

The Fortran intrinsics I was referring to are essentially polymorphic
functions (yes, 20-odd years before O-O) that look like this:

        uint64_t sum(uint64_t);
        int64_t sum(int64_t);

... where the compiler picks the right function (there are actually
two or more) based on the context.  It'd be pretty helpful here, and a
shame if it can't be done.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to