|
Allegro CL |
ANSI Common Lisp 2 Syntax 2.4 Standard Macro Characters 2.4.8 Sharpsign
2.4.8.11 Sharpsign C#C reads a following object, which must be a list of length two whose elements are both reals. These reals denote, respectively, the real and imaginary parts of a complex number. If the two parts as notated are not of the same data type, then they are converted according to the rules of floating-point contagion described in Section 12.1.1.2 Contagion in Numeric Operations. #C(real imag) is equivalent to #.(complex (quote real) (quote imag)), except that #C is not affected by *read-eval*. See the function complex. The next figure contains examples of the use of #C.
For further information, see Section 22.1.3.1.4 Printing Complexes and Section 2.3.2.3 Syntax of a Complex. |