Computational Science Technical Note CSTN-048


Notes on Complex Numbers for Computer Scientists

K. A. Hawick and D. P. Playne

Archived February 2007, Updated July 2008.


Complex numbers are useful piece of mathematical apparatus that play a critical role in understanding many applications including quantum computation. This note summarises some key properties and some systems and packages that support programming with complex numbers. We discuss complex number support in Fortran and D as well as library and package support in other languages such as C/C++, Java and some modern scripting languages.

Keywords: complex numbers; numerical precision; science; Java; C++; D

Full Document Text: PDF version.

Citation Information: BiBTeX database for CSTN Notes.

BiBTeX reference:

  author = {K.A. Hawick and D.P. Playne},
  title = {Notes on Programming Complex Numbers for Computer Scientists},
  institution = {Computer Science, Massey University},
  year = {2007},
  address = {Albany, North Shore 102-904, Auckland, New Zealand},
  month = {February},
  note = {CSTN-048},
  timestamp = {2008.03.12},
  url = {}

[ CSTN Index | CSTN BiBTeX ]