This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [libgfortran] PR 16137: libgfortran on non-C99 targets


On Mon, Aug 02, 2004 at 08:34:34PM -0600, Roger Sayle wrote:
> Hopefully, gfortran's use of nextafterf doesn't depend upon
> its operation with denormalized numbers.

Well, actually, from my reading the NEAREST intrinsic *should*
in fact operate correctly with denormals, and that

	NEAREST(0.0, 1.0)

should yield the minimal denormal.

You could see if the following works for your target.  It passes
the attached tests vs the glibc implementation.


r~

Attachment: z.c
Description: Text document


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