Skip to content

Commit

Permalink
添加 readme noerr函数
Browse files Browse the repository at this point in the history
  • Loading branch information
dengsgo committed Oct 22, 2019
1 parent 345d594 commit 652f6e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
| `cbrt(x)` | 立方根,cube root | cbrt(27) = 3 |
| `max(x, y)` | x, y 中的较大值 | max(2, 3) = 3 |
| `min(x, y)` | x, y 中的较小值 | min(2, 3) = 2 |
| `noerr(x)` | 计算 x 出错时返回 0 | noerr(1 / 1) = 1, noerr( 1/ 0 ) = 0 |


## Usage
Expand Down Expand Up @@ -176,7 +177,7 @@ go build
- [x] 友好的长数字 e.g. `123_456_789`
- [x] 三角函数 e.g. `sin, cos, tan, cot, sec, csc`
- [x] 常量 pi
- [x] 辅助函数 e.g. `abs, ceil, floor, sqrt, cbrt`
- [x] 辅助函数 e.g. `abs, ceil, floor, sqrt, cbrt, max, min, noerr`
- [x] 友好的错误消息 e.g.
```bash
input /> 123+89-0.0.9
Expand Down

0 comments on commit 652f6e8

Please sign in to comment.