[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New approach to annex D of the 754-R proposal.



Looks good.  Some comments:

- tanpi x   ]-infty,infty[ \ { 1/2 + k, k in Z}

I suppose the reason for excluding half-integers is that the sign of
Infinity would be undetermined by the limit argument.  I wonder however
whether the rule used for the sign of x-x could not be used here: +Inf
except when rounding towards -Inf.

Btw, Dave James:  you need a column for "n+0.5" in your table D.2 of
your tabular version of Annex D.


[ - atan2(x,y) ]
   returns the angle in radians in [0, 2*Pi[ such that a line segment
   forming this angle with the x axis passes through (x,y)

Replace with:
     returns the angle in radians in [0, 2*Pi[ such that a ray originating
     at (0,0) and forming this angle with the x axis passes through (x,y)


Michel.
Sent: 2007-06-15 04:34:32 UTC

754 | revision | FAQ | references | list archive