Email List: Xaustin-group-lX
[All Lists]

Re: Bug in XSHd5.1 tgamma

To: austin-group-l <austin-group-l@xxxxxxxxxxxxx>
Subject: Re: Bug in XSHd5.1 tgamma
From: Andrew Josey <ajosey@xxxxxxxxxxxxx>
Date: Thu, 21 Aug 2008 16:43:13 +0100
This is a response to the action from last week from Fred
regards
Andrew
------------------

On Fri, 15 Aug 2008 09:02:15 +0100, Andrew Josey wrote:

>recommendation regarding the discussion on tgamma?

Add the following to tgamma (this text comes from exp()):

RETURN VALUE

If the correct value would cause underflow, and is not representable, a range 
error may occur,
MX and either 0.0 (if supported), or an implementation-defined value shall be 
returned.

MX If the correct value would cause underflow, and is representable, a range 
error may occur and
the correct value shall be returned.

ERRORS

These functions may fail if:

Range Error The result underflows.

If the integer expression (math_errhandling & MATH_ERRNO) is non-zero,
then errno shall be set to [ERANGE]. If the integer expression
(math_errhandling & MATH_ERREXCEPT) is non-zero, then the underflow
floating-point exception shall be raised.

---


-- 
Andrew Josey                      The Open Group
Austin Group Chair                Thames Tower, 37-45 Station Road,
Email: a.josey@xxxxxx      Reading,Berks.RG1 1LX,England
Tel:   +44 118 9508311 ext 2250   Fax: +44 118 9500110


<Prev in Thread] Current Thread [Next in Thread>