next up previous contents index
Next: Logical Constants Up: Constants Previous: Double Precision Constants

Complex Constants

  A complex constant has the form of two real or integer constants separated by a comma and enclosed in a pair of parentheses. The first number is the real component and the second the imaginary component. Some examples of valid complex constants are:
(3.14,-5.67) (+1E5,0.125) (0,0) (-0.999,2.718E15)

Helen Rowlands