yiguolei commented on code in PR #2604:
URL: https://github.com/apache/doris-website/pull/2604#discussion_r2235631427


##########
docs/sql-manual/sql-functions/scalar-functions/numeric-functions/sec.md:
##########
@@ -0,0 +1,54 @@
+---
+{
+    "title": "SEC",
+    "language": "en"
+}
+---
+
+## Description
+
+Returns the secant of x, where x is the value in radians, only input and 
output are supported as double. Input null value will return null value.
+
+## Syntax
+
+```sql
+SEC(<x>)
+```
+
+## Parameters
+
+| Parameter | Description |
+| -- | -- |
+| `<x>` | The value for which the secant is to be calculated |
+
+## Return Value
+
+Returns the secant of x.
+
+## Example
+
+```sql
+select sec(1),sec(2),sec(1000);
+```
+
+```text
++--------------------+--------------------+--------------------+
+| sec(1)             | sec(2)             | sec(1000)          |
++--------------------+--------------------+--------------------+
+| 1.8508157176809255 | -2.402997961722381 | 1.7781600385912715 |
++--------------------+--------------------+--------------------+
+```
+
+Input null value.
+
+```sql
+select csc(null);
+```
+
+```text
++--------------------+
+| csc(null)          |
++--------------------+

Review Comment:
   sec



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to