morrySnow commented on code in PR #1811: URL: https://github.com/apache/doris-website/pull/1811#discussion_r1917912719
########## docs/sql-manual/sql-functions/scalar-functions/numeric-functions/sqrt.md: ########## @@ -22,40 +22,44 @@ specific language governing permissions and limitations under the License. --> -## sqrt +## Description -### description -#### Syntax +Returns the square root of a value, where the input value must be greater than or equal to 0. Special cases: -`DOUBLE sqrt(DOUBLE x)` -Returns the square root of `x`.`x` is required to be greater than or equal to `0`. +- If the parameter is less than 0, returns NULL. -:::tip -Another alias for this function is `dsqrt`. -::: +## Aliases -### example +DSQRT Review Comment: 使用列表形式 ```suggestion - DSQRT ``` ########## docs/sql-manual/sql-functions/scalar-functions/numeric-functions/tan.md: ########## @@ -22,30 +22,36 @@ specific language governing permissions and limitations under the License. --> -## tan +## Description -### description -#### Syntax +Returns the tangent of x, where x is the value in radians. -`DOUBLE tan(DOUBLE x)` -Returns the tangent of `x`, where `x` is in radians. - -### example +## Syntax +```sql +tan(DOUBLE <x>) Review Comment: ```suggestion tan(<x>) ``` ########## docs/sql-manual/sql-functions/scalar-functions/numeric-functions/sqrt.md: ########## @@ -22,40 +22,44 @@ specific language governing permissions and limitations under the License. --> -## sqrt +## Description -### description -#### Syntax +Returns the square root of a value, where the input value must be greater than or equal to 0. Special cases: -`DOUBLE sqrt(DOUBLE x)` -Returns the square root of `x`.`x` is required to be greater than or equal to `0`. +- If the parameter is less than 0, returns NULL. -:::tip -Another alias for this function is `dsqrt`. -::: +## Aliases -### example +DSQRT +## Syntax + +```sql +sqrt(DOUBLE <a>) Review Comment: ```suggestion sqrt(<a>) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org