SQLite

Check-in [87597e988f]
Login

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

Overview
Comment:Add the ieee754() SQL function that interprets a blob as a big-endian double. Arrange for the quote() SQL function to emit ieee754() functions in its output so that floating-point values in the database are exactly preserved by a ".dump" command in the shell.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | ieee754-func
Files: files | file ages | folders
SHA1: 87597e988fc6aad00e1326c152830a0938d30457
User & Date: drh 2012-06-18 14:23:06.889
Context
2012-06-18
14:23
Add the ieee754() SQL function that interprets a blob as a big-endian double. Arrange for the quote() SQL function to emit ieee754() functions in its output so that floating-point values in the database are exactly preserved by a ".dump" command in the shell. (Closed-Leaf check-in: 87597e988f user: drh tags: ieee754-func)
2012-06-16
15:26
In Lemon, when comparing the output to the *.h file to see if it has changed, make sure that the proposed new output and the preexisting output are the same size before deciding that they are the same. (check-in: 0c2fb18d25 user: drh tags: trunk)
Changes
Unified Diff Side-by-Side Diff Patch
Changes to src/func.c.