Subject: Re: Ben's Proposal to add reduction operators to Numeric_Std
From: Paul J. Menchini (mench@mench.com)
Date: Thu Feb 21 2002 - 11:33:12 PST
Jim and all,
> I support Ben's proposal to add reduction operators to Numeric_Std and
> 1164 if both groups add them. Currently I think 1164 is holding off
> considering this to wait and see if the language is going to do this.
> I am not convinced we should wait for 200X.
Right now, I am recommending that reduction operators of the form:
function "<operator>" (args: <vector type>) return <element type>;
be added. (<operator> is and, or, ...; <vector type> would be
bit_vector and any vector of Booleans; <element type> would be the
element type of the <vector type>.)
I don't currently favor the "<operator>_reduce" syntax but could be
convinced....
I anticipate that the precedence would be higher than the binary logical
operators but lower than everything else, especially concatenation.
I hope this "plan" will guide these deliberations.
Paul
This archive was generated by hypermail 2b28 : Thu Feb 21 2002 - 11:37:53 PST