Previous: Coordinate Transformations, Up: Arithmetic
A pure imaginary number, defined as
sqrt (-1)
. These built-in variables behave like functions so you can use the names for other purposes. If you use them as variables and assign values to them and then clear them, they once again assume their special predefined values See Status of Variables.
Infinity. This is the result of an operation like 1/0, or an operation that results in a floating point overflow.
Not a number. This is the result of an operation like 0/0, or `Inf - Inf', or any operation with a NaN.
Note that NaN always compares not equal to NaN. This behavior is specified by the IEEE standard for floating point arithmetic. To find NaN values, you must use the
isnan
function.
The ratio of the circumference of a circle to its diameter. Internally,
pi
is computed as `4.0 * atan (1.0)'.
The base of natural logarithms. The constant e satisfies the equation
log
(e) = 1.
The machine precision. More precisely,
eps
is the largest relative spacing between any two adjacent numbers in the machine's floating point system. This number is obviously system-dependent. On machines that support 64 bit IEEE floating point arithmetic,eps
is approximately 2.2204e-16.