PostgreSQL 8.0 Documentationdivision (integer division truncates results) 4 / 2 2 % modulo (remainder) 5 % 4 1 ^ exponentiation 2.0 ^ 3.0 8 121 Chapter 9. Functions and Operators Operator Description Example Result |/ square root greater than argument floor(-42.8) -43 ln(dp or numeric) (same as input) natural logarithm ln(2.0) 0.693147180559945 log(dp or numeric) (same as input) base 10 logarithm log(100.0) 2 122 Chapter Return Type Description Example Result log(b numeric, x numeric) numeric logarithm to base b log(2.0, 64.0) 6.0000000000 mod(y, x) (same as argument types) remainder of y/x mod(9,4) 1 pi() dp “π ”0 码力 | 1422 页 | 9.92 MB | 1 年前3
PostgreSQL 8.0 Documentationdivision (integer division truncates results) 4 / 2 2 % modulo (remainder) 5 % 4 1 ^ exponentiation 2.0 ^ 3.0 8 |/ square root |/ 25.0 5 ||/ cube root ||/ 27.0 3 ! factorial 5 ! 120 !! factorial (prefix input) natural logarithm ln(2.0) 0.693147180559945 log(dp or numeric) (same as input) base 10 logarithm log(100.0) 2 log(b numeric, x numeric) numeric logarithm to base b log(2.0, 64.0) 6.0000000000 mod(y of the argument (-1, 0, +1) sign(-8.4) -1 sqrt(dp or numeric) (same as input) square root sqrt(2.0) 1.4142135623731 trunc(dp or numeric) (same as input) truncate toward zero trunc(42.8) 42 trunc(v0 码力 | 1332 页 | 9.76 MB | 1 年前3
PostgreSQL 8.2 Documentationdivision (integer division truncates results) 4 / 2 2 % modulo (remainder) 5 % 4 1 ^ exponentiation 2.0 ^ 3.0 8 |/ square root |/ 25.0 5 ||/ cube root ||/ 27.0 3 ! factorial 5 ! 120 !! factorial (prefix input) natural logarithm ln(2.0) 0.693147180559945 log(dp or numeric) (same as input) base 10 logarithm log(100.0) 2 log(b numeric, x numeric) numeric logarithm to base b log(2.0, 64.0) 6.0000000000 mod(y of the argument (-1, 0, +1) sign(-8.4) -1 sqrt(dp or numeric) (same as input) square root sqrt(2.0) 1.4142135623731 trunc(dp or numeric) (same as input) truncate toward zero trunc(42.8) 42 trunc(v0 码力 | 1762 页 | 5.43 MB | 1 年前3
PostgreSQL 8.2 Documentationdivision (integer division truncates results) 4 / 2 2 % modulo (remainder) 5 % 4 1 ^ exponentiation 2.0 ^ 3.0 8 |/ square root |/ 25.0 5 ||/ cube root ||/ 27.0 3 ! factorial 5 ! 120 !! factorial (prefix input) natural logarithm ln(2.0) 0.693147180559945 log(dp or numeric) (same as input) base 10 logarithm log(100.0) 2 log(b numeric, x numeric) numeric logarithm to base b log(2.0, 64.0) 6.0000000000 mod(y of the argument (-1, 0, +1) sign(-8.4) -1 sqrt(dp or numeric) (same as input) square root sqrt(2.0) 1.4142135623731 trunc(dp or numeric) (same as input) truncate toward zero trunc(42.8) 42 trunc(v0 码力 | 1748 页 | 13.12 MB | 1 年前3
PostgreSQL 8.1.11 Documentationdivision (integer division truncates results) 4 / 2 2 % modulo (remainder) 5 % 4 1 ^ exponentiation 2.0 ^ 3.0 8 |/ square root |/ 25.0 5 ||/ cube root ||/ 27.0 3 ! factorial 5 ! 120 !! factorial (prefix input) natural logarithm ln(2.0) 0.693147180559945 log(dp or numeric) (same as input) base 10 logarithm log(100.0) 2 log(b numeric, x numeric) numeric logarithm to base b log(2.0, 64.0) 6.0000000000 mod(y of the argument (-1, 0, +1) sign(-8.4) -1 sqrt(dp or numeric) (same as input) square root sqrt(2.0) 1.4142135623731 trunc(dp or numeric) (same as input) truncate toward zero trunc(42.8) 42 trunc(v0 码力 | 1582 页 | 12.19 MB | 1 年前3
PostgreSQL 8.1 Documentationdivision (integer division truncates results) 4 / 2 2 % modulo (remainder) 5 % 4 1 ^ exponentiation 2.0 ^ 3.0 8 |/ square root |/ 25.0 5 ||/ cube root ||/ 27.0 3 ! factorial 5 ! 120 !! factorial (prefix input) natural logarithm ln(2.0) 0.693147180559945 log(dp or numeric) (same as input) base 10 logarithm log(100.0) 2 log(b numeric, x numeric) numeric logarithm to base b log(2.0, 64.0) 6.0000000000 mod(y of the argument (-1, 0, +1) sign(-8.4) -1 sqrt(dp or numeric) (same as input) square root sqrt(2.0) 1.4142135623731 trunc(dp or numeric) (same as input) truncate toward zero trunc(42.8) 42 trunc(v0 码力 | 1548 页 | 11.54 MB | 1 年前3
PostgreSQL 10.23 Documentation................................................... 2138 52.10. Summary of Changes since Protocol 2.0 ................................................... 2142 53. PostgreSQL Coding Conventions ....... the result) 4 / 2 2 % modulo (remainder) 5 % 4 1 ^ exponentiation (asso- ciates left to right) 2.0 ^ 3.0 8 |/ square root |/ 25.0 5 ||/ cube root ||/ 27.0 3 ! factorial (deprecated, use factorial() natural logarithm ln(2.0) 0.693147180559945 log(dp or nu- meric) (same as input) base 10 logarithm log(100.0) 2 log(b numer- ic, x numer- ic) numeric logarithm to base b log(2.0, 64.0) 6.00000000000 码力 | 2727 页 | 11.93 MB | 1 年前3
PostgreSQL 10.23 DocumentationFormats .................................................. 2036 52.10. Summary of Changes since Protocol 2.0 ............................................. 2040 53. PostgreSQL Coding Conventions ............. the result) 4 / 2 2 % modulo (remainder) 5 % 4 1 ^ exponentiation (asso- ciates left to right) 2.0 ^ 3.0 8 |/ square root |/ 25.0 5 ||/ cube root ||/ 27.0 3 ! factorial (deprecated, use factorial() natural logarithm ln(2.0) 0.693147180559945 log(dp or nu- meric) (same as input) base 10 logarithm log(100.0) 2 log(b numer- ic, x numer- ic) numeric logarithm to base b log(2.0, 64.0) 6.00000000000 码力 | 2590 页 | 12.03 MB | 1 年前3
PostgreSQL 11.22 DocumentationFormats .................................................. 2153 53.10. Summary of Changes since Protocol 2.0 ............................................. 2158 54. PostgreSQL Coding Conventions ............. the result) 4 / 2 2 % modulo (remainder) 5 % 4 1 ^ exponentiation (asso- ciates left to right) 2.0 ^ 3.0 8 |/ square root |/ 25.0 5 ||/ cube root ||/ 27.0 3 ! factorial (deprecated, use factorial() natural logarithm ln(2.0) 0.693147180559945 log(dp or nu- meric) (same as input) base 10 logarithm log(100.0) 2 log(b numer- ic, x numer- ic) numeric logarithm to base b log(2.0, 64.0) 6.00000000000 码力 | 2732 页 | 12.44 MB | 1 年前3
PostgreSQL 11.22 Documentation................................................... 2275 53.10. Summary of Changes since Protocol 2.0 ................................................... 2279 54. PostgreSQL Coding Conventions ....... the result) 4 / 2 2 % modulo (remainder) 5 % 4 1 ^ exponentiation (asso- ciates left to right) 2.0 ^ 3.0 8 |/ square root |/ 25.0 5 217 Functions and Operators Operator Description Example Result natural logarithm ln(2.0) 0.693147180559945 log(dp or nu- meric) (same as input) base 10 logarithm log(100.0) 2 log(b numer- ic, x numer- ic) numeric logarithm to base b log(2.0, 64.0) 6.00000000000 码力 | 2883 页 | 12.34 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













