Janus Dam Nielsen [EMAIL PROTECTED] writes:
Den 11/07/2008 kl. 22.02 skrev Martin Geisler:
Right, good point! We should do that. Maybe a smart compiler could
do the necessary deductions automatically? [...]
I am not aware of any of-the-shelf technique for this, but it would
be a fun
--
Janus
Den 15/07/2008 kl. 12.16 skrev Martin Geisler:
Janus Dam Nielsen [EMAIL PROTECTED] writes:
Den 11/07/2008 kl. 22.02 skrev Martin Geisler:
Right, good point! We should do that. Maybe a smart compiler could
do the necessary deductions automatically? [...]
I am not aware of any
Brian Graversen [EMAIL PROTECTED] writes:
Hi Brian
Attached is the first sample implementation (can we attach files?)
Sure -- messages above 1 MiB will be held for moderation, though.
If you have larger stuff (up to 4 MiB) you are welcome to send it to
[EMAIL PROTECTED] or attach it at the
Hi again,
Heres the fruit of half a days work :)
Analyzing the expression:
sint n = (a * y + (1 - a) * x);
Yields the following results:
Final result:
((a * y )+ ((1 - a )* x )) cost: 30
(((a * y )+ x )- (x * a )) cost: 30
(((a * y )+ x )- (a * x )) cost: 30
(((a * y )- (a * x ))+ x )
Janus Dam Nielsen [EMAIL PROTECTED] writes:
Hi again,
Heres the fruit of half a days work :)
Analyzing the expression:
sint n = (a * y + (1 - a) * x);
Yields the following results:
Final result:
((a * y )+ ((1 - a )* x )) cost: 30
(((a * y )+ x )- (x * a )) cost: 30
(((a * y )+ x