<div dir="ltr"><div><span style="font-size:14px">- Fixed the problem of atan(INF)/tanh(INF)/exp(INF) causing errno EDOM</span><br></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">This patch fixes parts of these two bugs: 37149, 37150</span><span style="font-size:14px"><br></span></div><div><br></div><div>---</div><div> dlls/msvcrt/math.c | 3 ---</div><div> 1 file changed, 3 deletions(-)</div><div><br></div><div>diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c</div><div>index acac35d..19989c9 100644</div><div>--- a/dlls/msvcrt/math.c</div><div>+++ b/dlls/msvcrt/math.c</div><div>@@ -363,7 +363,6 @@ double CDECL MSVCRT_asin( double x )</div><div>  */</div><div> double CDECL MSVCRT_atan( double x )</div><div> {</div><div>-  if (!isfinite(x)) *MSVCRT__errno() = MSVCRT_EDOM;</div><div>   return atan(x);</div><div> }</div><div> </div><div>@@ -399,7 +398,6 @@ double CDECL MSVCRT_cosh( double x )</div><div>  */</div><div> double CDECL MSVCRT_exp( double x )</div><div> {</div><div>-  if (!isfinite(x)) *MSVCRT__errno() = MSVCRT_EDOM;</div><div>   return exp(x);</div><div> }</div><div> </div><div>@@ -484,7 +482,6 @@ double CDECL MSVCRT_tan( double x )</div><div>  */</div><div> double CDECL MSVCRT_tanh( double x )</div><div> {</div><div>-  if (!isfinite(x)) *MSVCRT__errno() = MSVCRT_EDOM;</div><div>   return tanh(x);</div><div> }</div><div> </div><div>-- </div><div>2.3.3</div></div>