Michael Somos on Thu, 9 Jan 2003 13:25:41 -0500 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
tan(Pi/2) |
pari-dev, Igor Schein wrote: > ? tan(Pi/2) > -39614081257132168796771975169. which is to be expected. The tan() function has poles due to cos(). The value of cos(Pi/2) depends of the realprecision. Sometimes it is zero, sometimes it isn't. Try the following code to see this : ? for(n=1,40,default(realprecision,n);print(n" "cos(Pi/2))) Shalom, Michael