[Doc]modify pmod radians random#1940
Merged
KassieZ merged 2 commits intoapache:masterfrom Feb 6, 2025
Merged
Conversation
Signed-off-by: leozhuo <961937376@qq.com>
|
|
||
| ## 描述 | ||
|
|
||
| 返回模运算 x mod y 在模系中的最小正数解。具体而言,通过计算 (x % y + y) % y 得出结果。 |
Contributor
There was a problem hiding this comment.
将具体而言改成即
即通过计算 (x % y + y) % y 得出结果。
|
|
||
| - 不传参时:返回0-1之间的随机数。 | ||
|
|
||
| - 传入单个参数`seed`时:根据传入的种子值`seed`,产生相同的随机数。 |
| `DOUBLE random()` | ||
| 返回0-1之间的随机数。 | ||
| ```sql | ||
| RANDOM() |
Contributor
There was a problem hiding this comment.
RANDOM() -- 返回 0-1 之间的随机数
这里还是建议把注释放在后面
Signed-off-by: leozhuo <961937376@qq.com>
morrySnow
approved these changes
Feb 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Versions
Languages
Docs Checklist