<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Imagine if FloatMode worked.<BR>
And if the compile-time evaluation wasn't performed.<BR>
This code would fail.<BR>
<BR>
<BR>
Though really..you know.. I don't think making FloatMode work makes sense.<BR>
It should be an interface/type thing that determines statically at compile time<BR>
if overflow is trapped.<BR>
<BR>
<BR>
- Jay<BR> <BR>> From: hosking@cs.purdue.edu<BR>> Date: Sun, 24 Jan 2010 04:28:01 -0500<BR>> To: jkrell@elego.de<BR>> CC: m3commit@elegosoft.com<BR>> Subject: Re: [M3commit] CVS Update: cm3<BR>> <BR>> I really don't like this...<BR>> what's wrong with allowing compile-time overflow other than that it exposes 2-s complement representation?<BR>> <BR>> On 23 Jan 2010, at 20:42, Jay Krell wrote:<BR>> <BR>> > CVSROOT: /usr/cvs<BR>> > Changes by: jkrell@birch. 10/01/23 20:42:28<BR>> > <BR>> > Modified files:<BR>> > cm3/m3-libs/libm3/src/fmtlex/: Lex.m3 <BR>> > <BR>> > Log message:<BR>> > oops 1 => 1L<BR>> <BR> </body>
</html>