Arithmetic/Complex: Difference between revisions

Content added Content deleted
(Perl 5: Various improvements. Perl 6: Added.)
m (→‎{{header|Maple}}: more readable)
Line 924: Line 924:
=={{header|Maple}}==
=={{header|Maple}}==


Maple has "I" (the square root of -1) built-in. Thus:
Maple has <code>I</code> (the square root of -1) built-in. Thus:


<lang maple>x := 1+I;
<lang maple>x := 1+I;