Skip to content

Commit

Permalink
Add basics for the complex type.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfman2000 committed Dec 3, 2009
1 parent 437f0df commit 23e0b1a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/builtins.pod
Expand Up @@ -53,6 +53,14 @@ fast, but subject to limited precision.

Numbers in scientific notation like C<6.022e23> are of type C<Num>.

=item Complex

C<Complex> is the complex number type. Complex numbers have two
parts to them: a real part and in imaginary part. If either part
is considered C<Nan>, then the entire number may possibly be C<Nan>.

Numbers in the form C<a + bi> are of type C<Complex>.

=back

The following operators are available for all number types.
Expand Down

0 comments on commit 23e0b1a

Please sign in to comment.