]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/project-euler/ave-time/ave-time-docs.factor
factor: trim using lists
[factor.git] / extra / project-euler / ave-time / ave-time-docs.factor
index f2d6b89afcb1c215768cc7bdf3ca7e35aa4d3df0..168047fc5bdf7258a6ca36dfcddc065bcd562710 100644 (file)
@@ -1,5 +1,4 @@
-USING: arrays help.markup help.syntax math math.parser memory quotations
-    sequences system tools.time ;
+USING: help.markup help.syntax math quotations sequences ;
 IN: project-euler.ave-time
 
 HELP: collect-benchmarks
@@ -9,14 +8,6 @@ HELP: collect-benchmarks
     $nl
     "A nicer word for interactive use is " { $link ave-time } "." } ;
 
-HELP: nth-place
-{ $values { "x" float } { "n" integer } { "y" float } }
-{ $description "Rounds a floating point number to " { $snippet "n" } " decimal places." }
-{ $examples
-    "This word is useful for display purposes when showing 15 decimal places is not desired:"
-    { $unchecked-example "3.141592653589793 3 nth-place number>string" "\"3.142\"" }
-} ;
-
 HELP: ave-time
 { $values { "quot" quotation } { "n" integer } }
 { $description "Runs a quotation " { $snippet "n" } " times, then prints the average run time and standard deviation." }