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
|