1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-07 19:13:02 +00:00

Bump version, fix doc and typos, update grammar.

This commit is contained in:
Calvin Rose
2018-12-27 13:36:27 -05:00
parent 1ec7f04642
commit e9a80d4e4a
4 changed files with 6 additions and 6 deletions

View File

@@ -358,7 +358,7 @@ static int janet_gc_idequals(Janet lhs, Janet rhs) {
case JANET_FALSE:
case JANET_NIL:
case JANET_NUMBER:
/* These values don't really matter to the gc so returning 1 al the time is fine. */
/* These values don't really matter to the gc so returning 1 all the time is fine. */
return 1;
default:
return janet_unwrap_pointer(lhs) == janet_unwrap_pointer(rhs);

View File

@@ -99,7 +99,7 @@ static const JanetReg cfuns[] = {
},
{"math/random", janet_rand,
"(math/random)\n\n"
"Returns a uniformly distrbuted random number number between 0 and 1."
"Returns a uniformly distrbuted random number between 0 and 1."
},
{"math/seedrandom", janet_srand,
"(math/seedrandom seed)\n\n"
@@ -148,11 +148,11 @@ static const JanetReg cfuns[] = {
},
{"math/floor", janet_floor,
"(math/floor x)\n\n"
"Returns the largest integer value number number that is not greater than x."
"Returns the largest integer value number that is not greater than x."
},
{"math/ceil", janet_ceil,
"(math/ceil x)\n\n"
"Returns the smallest integer value number number that is not less than x."
"Returns the smallest integer value number that is not less than x."
},
{"math/pow", janet_pow,
"(math/pow a x)\n\n"