Skip to content

Commit

Permalink
Add some basic docs to Complex.pir
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Worthington <jnthn@jnthn.net>
  • Loading branch information
leto authored and jnthn committed Feb 25, 2009
1 parent 766d5d5 commit eecbb2c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/classes/Complex.pir
Expand Up @@ -50,6 +50,8 @@ Returns a Perl representation of the Complex.

=item exp

Returns the exponential of a Complex.

=cut

.namespace []
Expand All @@ -62,6 +64,8 @@ Returns a Perl representation of the Complex.

=item log

Returns the logarithm of a Complex.

=cut

.namespace ['Perl6Complex']
Expand All @@ -72,6 +76,8 @@ Returns a Perl representation of the Complex.

=item polar

Returns the polar representation of a Complex.

=cut

.namespace ['Perl6Complex']
Expand All @@ -89,6 +95,8 @@ Returns a Perl representation of the Complex.

=item sqrt

Returns the square root of a Complex.

=cut

.namespace []
Expand Down

0 comments on commit eecbb2c

Please sign in to comment.