Merge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers

db4
Joe Groff 2010-02-22 17:46:36 -08:00
commit 9ce43aadf0
1 changed files with 3 additions and 3 deletions

View File

@ -385,14 +385,14 @@ HELP: prev-float
HELP: real-part
{ $values { "z" number } { "x" real } }
{ $description "Outputs the real part of a complex number. This acts as the identity on real numbers." }
{ $examples { $example "USING: math prettyprint ; C{ 1 2 } real-part ." "1" } } ;
{ $examples { $example "USING: math prettyprint ;" "C{ 1 2 } real-part ." "1" } } ;
HELP: imaginary-part
{ $values { "z" number } { "y" real } }
{ $description "Outputs the imaginary part of a complex number. This outputs zero for real numbers." }
{ $examples
{ $example "USING: math prettyprint ; C{ 1 2 } imaginary-part ." "2" }
{ $example "USING: math prettyprint ; 3 imaginary-part ." "0" }
{ $example "USING: math prettyprint ;" "C{ 1 2 } imaginary-part ." "2" }
{ $example "USING: math prettyprint ;" "3 imaginary-part ." "0" }
} ;
HELP: real