[sqlite] CONFIG_FPE_FASTFPE and the text representation of a float

2007-10-08 Thread Frank van Vugt
L.S. Here's the patch for those interested: --- sqlite-3.4.2-orig/src/printf.c 2007-06-28 14:46:19.0 +0200 +++ sqlite-3.4.2/src/printf.c 2007-10-08 11:56:49.0 +0200 @@ -158,7 +158,11 @@ static int et_getdigit(LONGDOUBLE_TYPE *val, int *cnt){ int digit;

[sqlite] CONFIG_FPE_FASTFPE and the text representation of a float

2007-10-04 Thread Frank van Vugt
L.S. Ouch, bad copy, obviously log(2^33) ~= 9.934 => 10 digits Drh, can I wrap up this stuff and send you the patch or did other locations come to mind that need checking? -- Best, Frank. - To unsubscribe,

[sqlite] CONFIG_FPE_FASTFPE and the text representation of a float

2007-10-03 Thread Frank van Vugt
L.S. As per earlier posts: I'm using Sqlite on an Arm architecture without FP-unit running a kernel that has FASTFPE built in. After solving the mixed-endian issue, it turns out there's yet another problem when one is looking at floating point numbers in a text representation.. A number