pi
pi
is a function that returns the floating-point number nearest the value of
4
*atan(1)
and imag(log(-1))
provide the same value.
sin(pi)
is not exactly zero because pi
is not exactly
ans
,eps
,finite
,i
,Inf
,isnan
,j
,NaN
(c) Copyright 1994 by The MathWorks, Inc.