This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] add base fenv and spu fenv support
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Patrick Mansfield <patmans at us dot ibm dot com>
- Cc: newlib at sourceware dot org
- Date: Wed, 14 Feb 2007 13:28:41 -0500
- Subject: Re: [PATCH] add base fenv and spu fenv support
- References: <20070213215422.GA13894@us.ibm.com>
Patrick Mansfield wrote:
Attached is a repost of the spu fenv patches rolled into one patch, with
the following changes since the last posting:
- Rebase against current cvs (avoid rejection in configure.host)
- Add missing #include <fenv.h> in fe_dfl_fenv.c
- Add __cplusplus wrappers in fenv.h
- Use _EXFUN in fenv.h
- Add #ifndef _FENV_H and #ifndef _SYS_FENV_H wrappers
Jeff can you comment or apply?
1. Why are you using "../headers" in your C files when the C files and
"headers" subdirectory are in the same directory?
2. There is an explicit copyright in sys/fenv.h but no license.
3. I do not see any real advantage to having the fenv.h in the
main include directory since it only declares std prototypes,
doesn't work for any platform but spu and has a documentation
clause. At this time, it would be best to just place it in
machine/spu/include
-- Jeff J.
Thanks ...
-- Patrick Mansfield