From c2ef58d880a06334771f2524dba9017973747419 Mon Sep 17 00:00:00 2001 From: curist Date: Sun, 28 Jul 2019 22:18:36 +0800 Subject: [PATCH 1/2] Update math/log docstring --- src/core/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/math.c b/src/core/math.c index 5cd66f68..d6e05a94 100644 --- a/src/core/math.c +++ b/src/core/math.c @@ -149,7 +149,7 @@ static const JanetReg math_cfuns[] = { { "math/log", janet_log, JDOC("(math/log x)\n\n" - "Returns log base 2 of x.") + "Returns log base natural number of x.") }, { "math/log10", janet_log10, From de50a38bb1f5e7911a51c8754c539d83573c91c8 Mon Sep 17 00:00:00 2001 From: curist Date: Sun, 28 Jul 2019 22:19:50 +0800 Subject: [PATCH 2/2] Update man page --- janet.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/janet.1 b/janet.1 index 6e72906c..88fa446d 100644 --- a/janet.1 +++ b/janet.1 @@ -14,7 +14,7 @@ janet \- run the Janet language abstract machine .SH DESCRIPTION Janet is a functional and imperative programming language and bytecode interpreter. It is a modern lisp, but lists are replaced by other data structures with better utility -and performance (arrays, tables, structs, tuples). The language also bridging bridging +and performance (arrays, tables, structs, tuples). The language also bridging to native code written in C, meta-programming with macros, and bytecode assembly. There is a repl for trying out the language, as well as the ability to run script files.