[M3commit] CVS Update: cm3

Tony Hosking hosking at cs.purdue.edu
Tue Feb 23 02:03:03 CET 2010


P.S. The assumption is that results from operations that overflow should be discarded.

Antony Hosking | Associate Professor | Computer Science | Purdue University
305 N. University Street | West Lafayette | IN 47907 | USA
Office +1 765 494 6001 | Mobile +1 765 427 5484




On 22 Feb 2010, at 20:01, Tony Hosking wrote:

> Jay, If you want that behavior, just do:
> 
> TInt.Chop(x, BYTESIZE(INTEGER), x);
> TInt.ToInt(x, i)
> 
> On 22 Feb 2010, at 23:57, Jay Krell wrote:
> 
>> CVSROOT:	/usr/cvs
>> Changes by:	jkrell at birch.	10/02/22 23:57:21
>> 
>> Modified files:
>> 	cm3/m3-sys/m3back/src/: M3BackInt.m3 
>> 
>> Log message:
>> 	remove local versions of ToInt and FromInt now that TInt.ToInt packs the bytes even if there is overflow (the right solution I suspect it TWord.ToWord)
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3commit/attachments/20100222/f3ab806a/attachment-0002.html>


More information about the M3commit mailing list