Hi Daniel,
On 3/2/21 5:06 AM, Daniel Lehman wrote:
+/*********************************************************************
fegetexceptflag (MSVCR120.@)
- */
+int CDECL fegetexceptflag(fexcept_t *status, int excepts) +{
- fenv_t env;
- int rc;
- rc = fegetenv(&env);
- *status = env._Fe_stat & excepts & FE_ALL_EXCEPT;
- return rc;
+}
Is there a reason of not using _statusfp() instead of fegetenv here?
Thanks, Piotr