Skip to content
Prev 52343 / 63421 Next

Different results for tan(pi/2) and tanpi(1/2)

On Fri, Sep 9, 2016 at 12:24 PM, Hans W Borchers <hwborchers at gmail.com>
wrote:
?When I do a ?tanpi, I see the following:

     ?tanpi(0.5)? is ?NaN?.  Similarly for other inputs with fractional
     part ?0.5?.
?


?I don't know why this is, but apparently the function is working as
documented. Whether that is correct or not is not for me to say.?