<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I thought FloatMode was only related to floating point.<BR>
So I looked:<BR>
<BR>
"IntOverflow" = an integer operation produced a result whose<BR> absolute value is too large to be represented.<BR>
<BR>
"IntDivByZero" = integer "DIV" or "MOD" by zero.<BR>\end{quote}<BR><BR>
<BR>
This part of it should be easy to implement for all architectures.<BR>
The entire thing probably isn't too difficult either on many platforms either.<BR>
<BR>
However...I was surprised by this.<BR>
I thought the real "intent" in Modula-3 to not have this be configurable<BR>
and endeavor for overflow and divide by zero to always immediately<BR>
raise an exception? The only "out" is that it might not get implemented on some platforms for some reason?<BR>
<BR>
For the floating point stuff:<BR>
<BR>
Probably like other per-platform code, this should be done in #ifdefed C.<BR>
<BR>
<A href="http://msdn.microsoft.com/en-us/library/e9b52ceh(VS.80).aspx">http://msdn.microsoft.com/en-us/library/e9b52ceh(VS.80).aspx</A><BR>
<A href="http://kernel.org/doc/man-pages/online/pages/man3/fetestexcept.3.html">http://kernel.org/doc/man-pages/online/pages/man3/fetestexcept.3.html</A><BR>
etc.<BR>
<BR>
- Jay<BR><BR> </body>
</html>