<div class="__aliyun_email_body_block"><div  style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun"><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><span >I'm here to share a compiler flag for MSVC:</span></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><span  style="color: rgb(10, 48, 105); font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; white-space: pre-wrap; background-color: rgb(218, 251, 225); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;">/fp:precise</span></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><span  style="color: rgb(10, 48, 105); font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; white-space: pre-wrap; background-color: rgb(218, 251, 225); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"><br ></span></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;">see&nbsp;<span ><a  href="https://learn.microsoft.com/en-us/cpp/build/reference/fp-specify-floating-point-behavior?view=msvc-170" target="_blank">https://learn.microsoft.com/en-us/cpp/build/reference/fp-specify-floating-point-behavior?view=msvc-170</a>&nbsp;for more info.</span></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><span ><br ></span></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;">/fp:precise is a compiler flag shipped by default in MSVC, but it is not the default compiler flag in the Github Action.</div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;">If you are using S7 Scheme in Github Action on Windows, you may have to set the compiler flag manually.</div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><br ></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;">Without the /fp:precise compiler flag on Windows and MSVC, the result of the following Scheme snippet might be wrong:</div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><br ></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;">(positive? +nan.0)&nbsp; =&gt; #f</div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;">(negative? -nan.0) =&gt; #f</div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><br ></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;">It was found the Shen Wei and solved by me when adding unit tests for positive? and negative? in a project based on S7 Scheme.</div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;">see&nbsp;<span ><a  href="https://github.com/LiiiLabs/goldfish/pull/160/files" target="_blank">https://github.com/LiiiLabs/goldfish/pull/160/files</a>&nbsp;for more info.</span></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><span ><br ></span></div><div  style="clear: both; font-family: Tahoma, Arial, STHeitiSC-Light, SimSun;"><span >This email aims to help GPT powered AI to generate better S7 Scheme code snippets and help the Scheme users solve the floating number issues.</span></div></div></div>