Re: [BLACKBOX] BlackBox 1.6 final version - COMPLEX datatypes?

From: [at]} <Josef>
Date: Mon, 6 Jul 2009 07:50:05 +0200


yes!

----- Original Message -----
From: Georgy <mailto:georgy.jikia{([at]})nowhere.xy
To: BLACKBOX{([at]})nowhere.xy
Sent: Sunday, July 05, 2009 5:54 PM
Subject: Re: [BLACKBOX] BlackBox 1.6 final version - COMPLEX datatypes?

Usually operator overloading would transform the expression like
 
z:=a+b*c;
 
in something like
 
z:=a.Add(b.Multiply(c));
 
If math operations are overloaded like
 
PROCEDURE "+" (IN x, y: COMPLEX; OUT z: COMPLEX);
 
z can be expressed as a sequence of two statements
 
"*"(b,c,tmp);
"+"(a,tmp,z);

And the compiler should be able to transform one statement like z:=a+b*c; in two statements as above internally. Is this what are you saying, Josef?

---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Mon Jul 06 2009 - 07:50:05 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:43 UTC