<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
        {mso-style-priority:1;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Trebuchet MS","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Trebuchet MS","sans-serif";
        font-variant:normal !important;
        color:windowtext;
        text-transform:none;
        position:relative;
        top:0pt;
        mso-text-raise:0pt;
        letter-spacing:0pt;
        text-shadow:none;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;
        vertical-align:baseline;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-CH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><font size=2 face="Trebuchet MS"><span lang=EN-US style='font-size:11.0pt;font-family:"Trebuchet MS","sans-serif"'>Hi all<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 face="Trebuchet MS"><span lang=EN-US style='font-size:11.0pt;font-family:"Trebuchet MS","sans-serif"'><o:p>&nbsp;</o:p></span></font></p><p class=MsoNormal><font size=2 face="Trebuchet MS"><span lang=EN-US style='font-size:11.0pt;font-family:"Trebuchet MS","sans-serif"'>As neither myself nor Yaroslav had the result Zdenek had, we should ask:<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 face="Trebuchet MS"><span lang=EN-US style='font-size:11.0pt;font-family:"Trebuchet MS","sans-serif"'>What Oberon system on what platform are you using, Zdenek?<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 face="Trebuchet MS"><span lang=EN-US style='font-size:11.0pt;font-family:"Trebuchet MS","sans-serif"'><o:p>&nbsp;</o:p></span></font></p><p class=MsoNormal><font size=2 face="Trebuchet MS"><span lang=EN-US style='font-size:11.0pt;font-family:"Trebuchet MS","sans-serif"'>br<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 face="Trebuchet MS"><span lang=EN-US style='font-size:11.0pt;font-family:"Trebuchet MS","sans-serif"'>Jörg<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 face="Trebuchet MS"><span lang=EN-US style='font-size:11.0pt;font-family:"Trebuchet MS","sans-serif"'><o:p>&nbsp;</o:p></span></font></p><p class=MsoNormal><font size=2 face="Trebuchet MS"><span lang=EN-US style='font-size:11.0pt;font-family:"Trebuchet MS","sans-serif"'><o:p>&nbsp;</o:p></span></font></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Yaroslav Romanchenko [mailto:tobject@bk.ru] <br><b><span style='font-weight:bold'>Sent:</span></b> Dienstag, 11. November 2014 15:50<br><b><span style='font-weight:bold'>To:</span></b> ETH Oberon and related systems<br><b><span style='font-weight:bold'>Subject:</span></b> Re: [Oberon] real math<o:p></o:p></span></font></p></div></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p><p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>How many right suggestions. But... anyway something wrong with real math in Oberon implementation, because same example in BlackBox returns yet another result expected by Zdenek.<o:p></o:p></span></font></p><p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Code:<o:p></o:p></span></font></p><p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>MODULE M1;<br><br>IMPORT<br>StdLog;<br><br>PROCEDURE Do*;<br>VAR<br>r: REAL;<br>BEGIN<br>r := 480 / 100 * 100;<br>StdLog.Int(ENTIER(r * 1000000));<br>StdLog.Ln;<br>END Do;<br><br>BEGIN<br>END M1.<o:p></o:p></span></font></p><p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Output:<o:p></o:p></span></font></p><p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>480000000<o:p></o:p></span></font></p><p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Same result as BlackBox returned in commercial&nbsp;Embarcadero RAD Studio using type corresponding single type.<br><br>---<br>Cheers, SAGE<br><a href="http://sage.com.ua/">http://sage.com.ua/</a><o:p></o:p></span></font></p></div></body></html>