parrotcode:
Perl 6 complex numbers
Contents
|
Language Implementations
|
Perl6
TITLE
Complex - Perl 6 complex numbers
DESCRIPTION
Methods
onload
Implementation is a bit different from other basic objects (Int...) because 'Complex' is also the name of the builtin Parrot PMC.
perl()
Returns a Perl representation of the Complex.
Subs
exp
log
polar
sqrt
Operators
postfix:i
infix:+
prefix:+
infix:-
prefix:-
infix:*
infix:/