(j3.2006) GAMMA, LOG_GAMMA, LOG and LOG10

Van Snyder Van.Snyder
Thu Oct 2 22:15:09 EDT 2008

The GAMMA and LOG_GAMMA functions prohibit their arguments to be zero or
a negative integer.

LOG and LOG10 for real arguments prohibit their arguments to be negative
or zero.

LOG for complex arguments prohibits its argument to be zero.

If IEEE arithmetic is supported we could allow any argument for GAMMA,
LOG_GAMMA and LOG for complex arguments, and any non-negative argument
for LOG and LOG10 for real arguments, by defining the functions to
return the IEEE infinity with the appropriate sign.  This could be
specified in Clause 14.  Alternatively, we could define IEEE_GAMMA etc
in Clause 13.

I assume we don't want to do this now.

Should this be considered in the future?


More information about the J3 mailing list