Documentation Source Text
Check-in [9ceaba]
Not logged in

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

Overview
SHA1 Hash:9ceaba9f7f831c8fca0daa978b4363e5c508bfd7
Date: 2013-08-19 14:26:23
User: drh
Comment:Fix a typo in the RTREE documentation.
Tags And Properties
Context
2013-08-20
17:06
[4bfef7] Fix typos in the cache_spill pragma documentation. (user: drh, tags: trunk)
2013-08-19
21:17
[083cd5] Initial docs for tointeger() and toreal() SQL functions. (user: mistachkin, tags: toTypeFuncs)
14:26
[9ceaba] Fix a typo in the RTREE documentation. (user: drh, tags: trunk)
2013-08-17
17:56
[74740a] Add documentation for the cache_spill pragma. (user: drh, tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pages/rtree.in.

323
324
325
326
327
328
329
330
331
332
333
334
335
336
337

<p>
The default virtual table ("rtree") normally stores coordinates as
single-precision (4-byte) floating point numbers.  If integer coordinates
are desired, declare the table using "rtree_i32" instead:

<blockquote><pre>
CREATE VIRTUAL TABLE intrtree USING rtree_i32(id,x0,x1,y0,y1,z0,y1);
</pre></blockquote>

<p>
An rtree_i32 stores coordinates as 32-bit signed integers.  But it still
using floating point computations internally as part of the r-tree algorithm.
For applications running on processors without hardware floating point,
it might be desirable to have a pure integer implementation of r-trees.







|







323
324
325
326
327
328
329
330
331
332
333
334
335
336
337

<p>
The default virtual table ("rtree") normally stores coordinates as
single-precision (4-byte) floating point numbers.  If integer coordinates
are desired, declare the table using "rtree_i32" instead:

<blockquote><pre>
CREATE VIRTUAL TABLE intrtree USING rtree_i32(id,x0,x1,y0,y1,z0,z1);
</pre></blockquote>

<p>
An rtree_i32 stores coordinates as 32-bit signed integers.  But it still
using floating point computations internally as part of the r-tree algorithm.
For applications running on processors without hardware floating point,
it might be desirable to have a pure integer implementation of r-trees.