Mode OperatorsElzed provides several operators that modify the way the library works. They allow you to customize the operating environment from within the environment.
allow complex results
allowcomplex
Tells the current context to allow evaluations to return complex numbers as results. If complex results are not allowed, evaluations that develop complex results will return an error. Note that you may use complex numbers as operands at any time, even if complex results are not allowed.
binary number format
binary
Tells the current context to display numeric results in binary (base 2) format. This affects output only; you may enter numbers in any of the five supported number bases.
decimal number format
decimal
Tells the current context to display numeric results in decimal (base 10) format. This affects output only; you may enter numbers in any of the five supported number bases.
degrees
degrees
Tells the current context to interpret and display angles in degrees. This setting affects both input and output; Elzed will assume that all angles are expressed in degrees.
duodecimal
duodecimal
Tells the current context to display numeric results in duodecimal (base 12) format. This affects output only; you may enter numbers in any of the five supported number bases.
grads
grads
Tells the current context to interpret and display angles in grads. This setting affects both input and output; Elzed will assume that all angles are expressed in grads.
hex
hex
Tells the current context to display numeric results in hexadecimal (base 16) format. This affects output only; you may enter numbers in any of the five supported number bases.
octal
octal
Tells the current context to display numeric results in octal (base 8) format. This affects output only; you may enter numbers in any of the five supported number bases.
polar coordinate format
polar
Tells the current context to display coordinates in polar format. This affects output only; you may enter coordinates in either polar or rectangular format.
radians
radians
Tells the current context to interpret and display angles in radians. This setting affects both input and output; Elzed will assume that all angles are expressed in radians.
real results only
realonly
Tells the current context to prevent evaluations from returning complex numbers as results. In this condition, evaluations that develop complex results will return an error.
rectangular coordinate format
rect
Tells the current context to display coordinates in rectangular (Cartesian) format. This affects output only; you may enter coordinates in either polar or rectangular format.
|