List:Internals« Previous MessageNext Message »
From:jon Date:April 7 2005 1:25am
Subject:bk commit - mysqldoc tree (jon:1.2827)
View as plain text  
Below is the list of changes that have just been committed into a local
mysqldoc repository of jon. When jon does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://www.mysql.com/doc/I/n/Installing_source_tree.html

ChangeSet
  1.2827 05/04/07 11:25:25 jon@stripped +1 -0
  Precision argument for FLOAT, DOUBLE, and DOUBLE PRECISION
  column types represents bits, not decimal places.
  Fixes Bug #9612.

  Docs/manual.texi
    1.2664 05/04/07 11:25:19 jon@stripped +17 -16
    Precision argument for FLOAT, DOUBLE, and DOUBLE PRECISION
    column types represents bits, not decimal places.
    Fixes Bug #9612.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	jon
# Host:	gigan.site
# Root:	/home/jon/bk/mysqldoc

--- 1.2663/Docs/manual.texi	2005-04-06 22:43:12 +10:00
+++ 1.2664/Docs/manual.texi	2005-04-07 11:25:19 +10:00
@@ -45235,15 +45235,16 @@
 
 @tindex FLOAT data type
 @tindex data type, FLOAT
-@item FLOAT[(@var{M},@var{D})] [UNSIGNED] [ZEROFILL]
+@item FLOAT[(@var{M},@var{B})] [UNSIGNED] [ZEROFILL]
 
 A small (single-precision) floating-point number.  Allowable values are
 @code{@w{-3.402823466E+38}} to @code{@w{-1.175494351E-38}}, @code{0},
-and @code{@w{1.175494351E-38}} to @code{3.402823466E+38}.  If
-@code{UNSIGNED} is specified, negative values are disallowed.  @var{M}
-is the display width and @var{D} is the number of decimals.  @code{FLOAT}
-without arguments or @code{FLOAT(@var{p})} (where @var{p} is in the range from
-0 to 24) stands for a single-precision floating-point number.
+and @code{@w{1.175494351E-38}} to @code{3.402823466E+38}.  If @code{UNSIGNED} is
+specified, negative values are disallowed.  @var{M} is the display width and
+@var{B} is the number of bits of precision. @code{FLOAT} without arguments or
+@code{FLOAT(@var{p})} (where @var{p} is in the range from 0 to 24) stands for a
+single-precision floating-point number. A single-precision floating-point number
+is accurate to approximately 7 decimal places.
 @c end_description_for_help_topic
 
 @c description_for_help_topic DOUBLE  FLOAT8 UNSIGNED ZEROFILL PRECISION REAL
@@ -45251,17 +45252,17 @@
 @tindex FLOAT data type
 @tindex data type, DOUBLE
 @tindex data type, FLOAT
-@item DOUBLE[(@var{M},@var{D})] [UNSIGNED] [ZEROFILL]
+@item DOUBLE[(@var{M},@var{B})] [UNSIGNED] [ZEROFILL]
 
-A normal-size (double-precision) floating-point number.
-Allowable values are @code{@w{-1.7976931348623157E+308}} to
-@code{@w{-2.2250738585072014E-308}}, @code{0}, and
-@code{2.2250738585072014E-308} to @code{1.7976931348623157E+308}.  If
-@code{UNSIGNED} is specified, negative values are disallowed.
-@var{M} is the display width and @var{D} is the number of decimals.
-@code{DOUBLE} without arguments or @code{FLOAT(@var{p})} (where
-@var{p} is in the
-range from 25 to 53) stands for a double-precision floating-point number.
+A normal-size (double-precision) floating-point number. Allowable values are
+@code{@w{-1.7976931348623157E+308}} to @code{@w{-2.2250738585072014E-308}},
+@code{0}, and @code{2.2250738585072014E-308} to @code{1.7976931348623157E+308}.
+If @code{UNSIGNED} is specified, negative values are disallowed. @var{M} is the
+display width and @var{B} is the number of bits of precision. @code{DOUBLE}
+without arguments or @code{FLOAT(@var{p})} (where @var{p} is in the range from
+25 to 53) stands for a double-precision floating-point number. A
+double-precision floating-point number is accurate to approximately 15 decimal
+places.
 
 @tindex DOUBLE PRECISION data type
 @tindex REAL data type
Thread
bk commit - mysqldoc tree (jon:1.2827)jon7 Apr