[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Setting Float Precision in Lua.c
- From: Albert Chan <albertmcchan@...>
- Date: Fri, 8 Jun 2018 15:06:41 -0400
> 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):