Documentation Source Text

Check-in [e0c57dd3d0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add a note to the printf() documentation to make clear that the built-in SQLite printf() does not implement positional parameters.
Timelines: family | ancestors | descendants | both | branch-3.27
Files: files | file ages | folders
SHA3-256:e0c57dd3d02577b954c1104e7c60f003e435bdac4249cd787a5a169af86b724f
User & Date: drh 2019-02-27 23:13:56
Context
2019-03-01
13:27
Update the JSON parsing speed in the json1.html documentation. check-in: 393a3d19ae user: drh tags: branch-3.27
2019-02-27
23:13
Add a note to the printf() documentation to make clear that the built-in SQLite printf() does not implement positional parameters. check-in: e0c57dd3d0 user: drh tags: branch-3.27
13:46
Updates to the althttpd.md documentation. check-in: 9ea89e32bf user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to pages/printf.in.

    94     94   Every IEEE-754 double can be represented exactly as a decimal floating-point
    95     95   value, but some doubles require more than 16 or 26 significant digits.
    96     96   
    97     97   <li><p>
    98     98   The order of the buffer pointer and buffer size parameters in the built-in
    99     99   snprintf() implementation is reversed from the order used in standard-library
   100    100   implementations.
          101  +
          102  +<li><p>
          103  +The built-in printf() implementation does not handle posix positional referencing
          104  +modifiers that allow the order of arguments to printf() to be different from the
          105  +order of the %-substitutions.  In the built-in printf(), the order of the arguments
          106  +must exactly match the order of the %-substitutions.
   101    107   </ol>
   102    108   
   103    109   <p>
   104    110   In spite of the disadvantages, the developers believe that having a built-in
   105    111   printf() implementation inside of SQLite is a net positive.
   106    112   
   107    113   <h1>Formatting Details</h1>