This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
RE: HUGE is missing in math.h
- From: Richard Earnshaw <rearnsha at gcc dot gnu dot org>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: tprince at computer dot org, "'Ralf Corsepius'" <ralf dot corsepius at rtems dot org>, "'Newlib List'" <newlib at sources dot redhat dot com>
- Date: Tue, 28 Jun 2005 15:26:22 +0100
- Subject: RE: HUGE is missing in math.h
- References: <SERRANOToFHO2qaIJZF00000247@SERRANO.CAM.ARTIMI.COM>
On Tue, 2005-06-28 at 14:44, Dave Korn wrote:
> AFAIUI, IEEE fp is mandated by the ISO C spec, so any system that has a
> non-IEEE-compliant long double type needs to be using software fp anyway,
> doesn't it? Does newlib care about support for non-ISO-C-compliant targets?
C99 does NOT mandate IEEE fp. It does, however, have an annex (Annex F)
that lists a number of features that an IEEE-fp conforming target
provides. An implementation may only define __STD_IEC_559__ if it fully
conforms to that annex.
R.