pi

Purpose

Provide

Synopsis

pi

Description

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.

Examples

sin(pi) is not exactly zero because pi is not exactly

See Also

ans, eps, finite, i, Inf, isnan, j, NaN

(c) Copyright 1994 by The MathWorks, Inc.