Ratio of circle's circumference to its diameter
pi returns the floating-point
number nearest the value of π. The expressions 4*atan(1) and imag(log(-1)) provide
the same value.
Find the sine of π:
The expression sin(pi) is not exactly zero
because pi is not exactly π.
Was this topic helpful?