From 949f658928c724e00df8634d5ecf776591abcb77 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 22 Feb 2010 17:39:30 -0600 Subject: [PATCH] Fix a couple of typos in complex number docs --- core/math/math-docs.factor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/math/math-docs.factor b/core/math/math-docs.factor index 6357c8bd98..50a31434f4 100644 --- a/core/math/math-docs.factor +++ b/core/math/math-docs.factor @@ -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