Skip to content

Commit

Permalink
chore: Regen graindoc
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake committed Feb 27, 2024
1 parent 2cb30b8 commit deb22de
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions stdlib/number.md
Expand Up @@ -1201,6 +1201,24 @@ Returns:
|----|-----------|
|`Result<Number, String>`|`Ok(value)` containing the parsed number on a successful parse or `Err(msg)` containing an error message string otherwise|

Examples:

```grain
Number.parse("1") == Ok(1)
```

```grain
Number.parse("-1") == Ok(-1)
```

```grain
Number.parse("0xf0") == Ok(0x0f0)
```

```grain
Number.parse("-1.5") == Ok(-1.5)
```

### Number.**asin**

<details disabled>
Expand Down Expand Up @@ -1296,6 +1314,16 @@ Returns:
|----|-----------|
|`Number`|The inverse tangent (angle in radians between `-pi/2` and `pi/2`) of the given `angle` or `NaN` if the given `angle` is not between`-1` and `1`|

Examples:

```grain
Number.atan(0) == 0
```

```grain
Number.atan(1) == 0.7853981633974483
```

### Number.**toRadians**

<details disabled>
Expand Down

0 comments on commit deb22de

Please sign in to comment.