This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/5] add base fenv.h and default sys/fenv.h


Patrick Mansfield <patmans@us.ibm.com> wrote:
> I added those, and some "#ifndef _FENV_H"

Be care. You are using the same macro _FENV_H for
libc/machine/spu/sys/fenv.h.

> Do I need to use _EXFUN for the function prototypes?

I'm not sure, but it seems preferable to do so.

BTW, I don't know how the fenv functions should behave in
multi-threading environment, i.e., should the fenv functions affect
only the current thread ? If so, I suppose that fenv status should be
managed by using _reent structure and that reentrant versions of fenv
functions should be also declared in fenv.h...

--
(ASAYAMA Kazunori
  (asayama@sm.sony.co.jp))
t


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]