Skip to content

Commit

Permalink
add function docs to the Complex PMC
Browse files Browse the repository at this point in the history
  • Loading branch information
cotto committed May 8, 2012
1 parent 6c43bd2 commit c5c590d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pmc/complex.pmc
Expand Up @@ -245,6 +245,8 @@ complex_parse_string(PARROT_INTERP,

=item C<static void int_check_divide_zero(PARROT_INTERP, INTVAL value)>

If C<value> is 0, throw a divide by zero exception.

=cut

*/
Expand All @@ -263,6 +265,8 @@ int_check_divide_zero(PARROT_INTERP, INTVAL value)

=item C<static void float_check_divide_zero(PARROT_INTERP, FLOATVAL value)>

If C<value> is 0.0, throw a divide by zero exception.

=cut

*/
Expand All @@ -281,6 +285,8 @@ float_check_divide_zero(PARROT_INTERP, FLOATVAL value)

=item C<static void complex_check_divide_zero(PARROT_INTERP, PMC *value)>

If C<value> is a Complex PMC with a value of 0, throw a divide by zero exception.

=cut

*/
Expand Down

0 comments on commit c5c590d

Please sign in to comment.