Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit14ac047

Browse files
committed
Document the sign() function.
1 parenta1ee066 commit14ac047

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.72 2001/09/2014:20:26 petere Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.73 2001/09/2016:41:26 petere Exp $ -->
22

33
<chapter id="functions">
44
<title>Functions and Operators</title>
@@ -640,6 +640,14 @@
640640
<entry></entry>
641641
</row>
642642
-->
643+
<row>
644+
<entry><function>sign</function>(<type>numeric</type>)</entry>
645+
<entry><type>numeric</type></entry>
646+
<entry>sign of the argument (-1, 0, +1)</entry>
647+
<entry><literal>sign(-8.4)</literal></entry>
648+
<entry>-1</entry>
649+
</row>
650+
643651
<row>
644652
<entry><function>sqrt</function>(<type>dp</type>)</entry>
645653
<entry><type>dp</type></entry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp