Euler's identity: Difference between revisions
Content deleted Content added
m →{{header|ALGOL 68}}: Corrected output label |
Added Common Lisp version |
||
Line 134: | Line 134: | ||
(0,1.22465e-16) |
(0,1.22465e-16) |
||
</pre> |
</pre> |
||
=={{header|Common Lisp}}== |
|||
Common Lisp has complex number arithmetic built into it. |
|||
<lang Common Lisp> |
|||
(+ 1 (exp (complex 0 pi))) |
|||
</lang> |
|||
<pre> |
|||
#C(0.0L0 -5.0165576136843360246L-20) |
|||
</pre> |
|||
=={{header|Factor}}== |
=={{header|Factor}}== |