<div dir="ltr"><div><div>Hi Henry,<br></div>it does not really matter because I virtually eliminated this definition<br></div><div>(I kept it just in case for very old compiler support)</div><div><br></div>Every C compiler comes with a definition of fabsf nowadays and we&#39;ll just use the native one.<br><div><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">Nicolas<br><br></div><div class="gmail_extra"><div class="gmail_quote">2016-07-29 16:33 GMT+02:00 Henrik Johansen <span dir="ltr">&lt;<a href="mailto:henrik.s.johansen@veloxit.no" target="_blank">henrik.s.johansen@veloxit.no</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>It may be *in* 2003 onwards, but the generated code is positively abysmal, at least in 2015.<br>
<br>
*cough*<br>
float fabsf(float x) { return (float) fabs( (double)x ); }<br>
*cough*<br>
<br>
Couldn&#39;t even be inlined on full optimization settings in latest 2015 version I checked...<br>
(same goes for fminf, fmaxf, etc)<br>
<br>
Cheers,<br>
Henry<br>
 <br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; On 29 Jul 2016, at 2:40 , GitHub &lt;<a href="mailto:noreply@github.com">noreply@github.com</a>&gt; wrote:<br>
&gt;<br>
&gt;  Branch: refs/heads/Cog<br>
&gt;  Home:   <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm</a><br>
&gt;  Commit: 88e24a3e92004f9590099482f53eaac3eccc3f20<br>
&gt;      <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/88e24a3e92004f9590099482f53eaac3eccc3f20" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/88e24a3e92004f9590099482f53eaac3eccc3f20</a><br>
&gt;  Author: Nicolas Cellier &lt;<a href="mailto:nicolas.cellier@sirehna.com">nicolas.cellier@sirehna.com</a>&gt;<br>
&gt;  Date:   2016-07-29 (Fri, 29 Jul 2016)<br>
&gt;<br>
&gt;  Changed paths:<br>
&gt;    M platforms/win32/vm/sqPlatformSpecific.h<br>
&gt;    M platforms/win32/vm/sqWin32.h<br>
&gt;<br>
&gt;  Log Message:<br>
&gt;  -----------<br>
&gt;  Gather missing MSVC functions in sqPlatformSpecific.h<br>
&gt;<br>
&gt; Reason: I added them to sqWin32.h but there were already some in sqPlatformSpecific.h<br>
&gt; Note: fabsf is in MSVC at least from 2003 edition, and in gcc for even longer, so avoid redefining if we know it&#39;s useless<br>
&gt;<br>
&gt;<br>
&gt;  Commit: 3dadd587627048d3854c61c60ff231dc6f30627c<br>
&gt;      <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/3dadd587627048d3854c61c60ff231dc6f30627c" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/3dadd587627048d3854c61c60ff231dc6f30627c</a><br>
&gt;  Author: Nicolas Cellier &lt;<a href="mailto:nicolas.cellier@sirehna.com">nicolas.cellier@sirehna.com</a>&gt;<br>
&gt;  Date:   2016-07-29 (Fri, 29 Jul 2016)<br>
&gt;<br>
&gt;  Changed paths:<br>
&gt;    M platforms/win32/vm/sqPlatformSpecific.h<br>
&gt;    M platforms/win32/vm/sqWin32Utils.c<br>
&gt;<br>
&gt;  Log Message:<br>
&gt;  -----------<br>
&gt;  Provide round implementation for older MSVC<br>
&gt;<br>
&gt; round is available since MSVC 2013 (_MSC_VER &gt;= 1800)<br>
&gt;<br>
&gt;<br>
&gt;  Commit: 9c44322e2469eef8d7c1bb57c7acd5a6795dfb1b<br>
&gt;      <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/9c44322e2469eef8d7c1bb57c7acd5a6795dfb1b" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/9c44322e2469eef8d7c1bb57c7acd5a6795dfb1b</a><br>
&gt;  Author: Nicolas Cellier &lt;<a href="mailto:nicolas.cellier@sirehna.com">nicolas.cellier@sirehna.com</a>&gt;<br>
&gt;  Date:   2016-07-29 (Fri, 29 Jul 2016)<br>
&gt;<br>
&gt;  Changed paths:<br>
&gt;    M build.win32x86/common/Makefile<br>
&gt;    M build.win32x86/common/Makefile.plugin<br>
&gt;    M build.win64x64/common/Makefile<br>
&gt;    M build.win64x64/common/Makefile.plugin<br>
&gt;<br>
&gt;  Log Message:<br>
&gt;  -----------<br>
&gt;  Don&#39;t use the provided 3rd party DirectX include files<br>
&gt;<br>
&gt; These files are provided by mingw.<br>
&gt; Since we link with mingw library, it&#39;s better to use mingw include.<br>
&gt;<br>
&gt; There were Teleplace specific hacks justifying to put a local copy.<br>
&gt; But these hacks are no longer necessary for building uptodate Squeak &amp; al vm.<br>
&gt; Note that provided 3rd party libraries (.lib) are for MSVC and are provided for 32bits only.<br>
&gt;<br>
&gt;<br>
&gt; Compare: <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/77b30368c1e8...9c44322e2469" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/77b30368c1e8...9c44322e2469</a><br>
<br>
<br></blockquote></div><br></div></div></div></div></div>