doc: update NUMERIC to state that only some ops are exact
authorBruce Momjian <bruce@momjian.us>
Tue, 24 Mar 2015 23:57:52 +0000 (19:57 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 24 Mar 2015 23:57:52 +0000 (19:57 -0400)
Report by Tom Lane

doc/src/sgml/datatype.sgml

index edf636b441758904b9d013023a1a066b1eedfc38..da1f25fe285e731d73793043f72eb8ec45ae0bcc 100644 (file)
 
     <para>
      The type <type>numeric</type> can store numbers with a
-     very large number of digits and perform calculations exactly. It is
-     especially recommended for storing monetary amounts and other
-     quantities where exactness is required. However, arithmetic on
-     <type>numeric</type> values is very slow compared to the integer
-     types, or to the floating-point types described in the next section.
+     very large number of digits. It is especially recommended for
+     storing monetary amounts and other quantities where exactness is
+     required.  Calculations with <type>numeric</type> values yield exact
+     results where possible, e.g.  addition, subtraction, multiplication.
+     However, calculations on <type>numeric</type> values are very slow
+     compared to the integer types, or to the floating-point types
+     described in the next section.
     </para>
 
     <para>