Please review this potential problem with John Ries's reccomendation for extend the mod function. Chuck Swart -------- Original Message -------- Subject: Re: Problem with your suggestion for mod. Date: Thu, 05 May 2005 08:05:28 -0700 From: John Ries <johnr@model.com> To: Chuck Swart <cswart@model.com> References: <427969BC.8010705@model.com> Hi Chuck, That makes the assumption that N must be an integer. N could be defined as a physical type. Or we could define mod to be A = AType'VAL ( BType'POS(B) * N) + (A mod B) Regards, John Chuck Swart wrote: > Your suggestion that we also allow integer values for the "b" value > works for rem but > not for mod. > > Mod follows the equation: > > A = B*N+(A mod B) > > If B is an integer, then the type of B*N is not of type time, the type > of A. > > My view is that because of this, we shouldn't allow your proposal for > either > mod or rem. > > What are your ideas on this? > (We'll be discussing this at the next ISAC meeting tomorrow) > > Chuck > > -- -- mailto: johnr@model.com phone: (503)685-0864 -- http://www.model.com fax: (503)685-0921 --Received on Thu May 5 10:00:47 2005
This archive was generated by hypermail 2.1.8 : Thu May 05 2005 - 10:00:48 PDT