-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Doc]modify pmod radians random #1940
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: leozhuo <[email protected]>
## 描述 | ||
|
||
返回模运算 x mod y 在模系中的最小正数解。具体而言,通过计算 (x % y + y) % y 得出结果。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
将具体而言改成即
即通过计算 (x % y + y) % y 得出结果。
|
||
- 不传参时:返回0-1之间的随机数。 | ||
|
||
- 传入单个参数`seed`时:根据传入的种子值`seed`,产生相同的随机数。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
说明返回 0-1 之间的随机数
`DOUBLE random()` | ||
返回0-1之间的随机数。 | ||
```sql | ||
RANDOM() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RANDOM() -- 返回 0-1 之间的随机数
这里还是建议把注释放在后面
Signed-off-by: leozhuo <[email protected]>
Versions
Languages
Docs Checklist