lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> On Jun 8, 2018, at 12:07 PM, Ką Mykolas <kamicc@gmail.com> wrote:
> 
> ...and the definition itself feels like implementation defined. Could not find it on any standard, only note that other FE_* definitions are left for implementation specific things.

Yes, FE_PC53_ENV is implementation defined

I use fesetenv: (since above macro is defined)

#include <fenv.h>
fesetenv(FE_PC53_ENV)

David Gay dtoa.c mentioned: (http://www.netlib.org/fp/dtoa.c)

#include <float.h>
_control87(PC_53, MCW_PC):