|
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 $ --> |
2 | 2 |
|
3 | 3 | <chapter id="functions"> |
4 | 4 | <title>Functions and Operators</title> |
|
640 | 640 | <entry></entry> |
641 | 641 | </row> |
642 | 642 | --> |
| 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 | + |
643 | 651 | <row> |
644 | 652 | <entry><function>sqrt</function>(<type>dp</type>)</entry> |
645 | 653 | <entry><type>dp</type></entry> |
|