ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   12 Numbers   12.2 Dictionary of Numbers

12.2.45 cis Function

Syntax:
cis radians    number

Arguments and Values:
radians - a real.

number - a complex.

Description:
cis returns the value of ei· radians, which is a complex in which the real part is equal to the cosine of radians, and the imaginary part is equal to the sine of radians.

Examples:
 (cis 0)  #C(1.0 0.0)

See Also:
Section 12.1.3.3 Rule of Float Substitutability

Allegro CL Implementation Details:
None.

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2019 - File last updated 02-07-2019