Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Commit eedd574

Browse files
authored
Merge pull request #6 from otoneko1102:fix/pages-encoding
fix: update range descriptions in datetime, math, and random modules
2 parents 8fd37fe + 9387747 commit eedd574

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

pages/src/content/docs/stdlib/datetime.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ These functions extract date/time components in the local timezone.
6363
Returns the full year (e.g. 2026).
6464

6565
### `month[t]`
66-
Returns the month (1窶・2).
66+
Returns the month (1–12).
6767

6868
### `day[t]`
69-
Returns the day of the month (1窶・1).
69+
Returns the day of the month (1–31).
7070

7171
### `weekday[t]`
7272
Returns the day of the week (0=Sunday, 6=Saturday).

pages/src/content/docs/stdlib/math.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Inverse hyperbolic functions.
117117
use p-math as m
118118
m.sin[m.pi div 2] -- 1
119119
m.cos[0] -- 1
120-
m.atan2[1; 1] -- 0.7853... (マ€/4)
120+
m.atan2[1; 1] -- 0.7853... (π/4)
121121
```
122122

123123
## Logarithms and Exponents

pages/src/content/docs/stdlib/random.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ r.getrandbits[16] -- 0..65535
5858
```
5959

6060
### `randbytes[n]`
61-
Returns an array of `n` random bytes (0窶・55).
61+
Returns an array of `n` random bytes (0–255).
6262

6363
```purus
6464
use p-random as r
@@ -183,7 +183,7 @@ r.clamp[5; 0; 10] -- 5
183183
```
184184

185185
### `lerp[a; b; t]`
186-
Linear interpolation between `a` and `b` by factor `t` (0窶・).
186+
Linear interpolation between `a` and `b` by factor `t` (0–1).
187187

188188
```purus
189189
use p-random as r

0 commit comments

Comments
 (0)