Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
util.c
129203b
Internal doc typo fixes reported in [forum:01d15f21b6|forum post 01d15f21b6].
by stephan
· 5 months ago
a0d35d4
Convert some expensive NEVER() and ASSERT() macros into assert()s.
by drh
· 5 months ago
54f96dc
Further improvements to the decimal-to-float conversion for values close
by drh
· 7 months ago
9f53d0c
Yet another iteration of the solution to the floating-point conversion
by drh
· 7 months ago
8703642
A cleaner and more robust solution to the floating-point conversion problem
by drh
· 7 months ago
4597870
Fix harmless compiler warning caused by the previous check-in.
by drh
· 7 months ago
1a4b211
On x64 hardware, round-trip uint64_t→double→uint64_t conversions
by drh
· 7 months ago
4da7617
Move the #include of hwtime.h from the bottom of util.c to the top of
by drh
· 9 months ago
e8b2c92
Remove all code that makes use of the C-language "long double" datatype.
by drh
· 10 months ago
7151010
New #ifdefs to omit code that is unused when SQLITE_USE_LONG DOUBLE is defined.
by drh
· 10 months ago
dac22f6
Add compile-time option -DSQLITE_USE_LONG_DOUBLE=0 to omit all attempts to use
by drh
· 10 months ago
34e4c6f
Improved header comment on the sqlite3FpDecode() implementation.
by drh
· 1 year, 1 month ago
5ed044e
Fix another problem from [c63e26e705f5e967] involving infinities and the
by drh
· 1 year, 4 months ago
1bd583e
Work around obscure floating point issue seen with older versions of MSVC.
by mistachkin
· 1 year, 4 months ago
8597eee
Always convert 32-bit integer literals into EP_IntValue notation, even if
by drh
· 1 year, 5 months ago
1ffaa03
Allow "_" characters to appear between any two digits in an integer, real or hexadecimal SQL literal.
by dan
· 1 year, 5 months ago
6161cdd
Fix rounding in zero-precision %f and %g printf conversions.
by drh
· 1 year, 5 months ago
406eb5a
Add extra checks for the validity of a numeric literal to sqlite3DequoteNumber().
by dan
· 1 year, 6 months ago
digit-separators
a545de6
Fix a problem in the previous commit with hex literals that start with "0X" instead of "0x".
by dan
· 1 year, 6 months ago
8374f7d
Allow underscores to occur in hex literals.
by dan
· 1 year, 6 months ago
3eae666
Allow "_" characters to appear following any digit in an integer or real SQL literal.
by dan
· 1 year, 6 months ago
09e6c82
Update #ifdef checks in pager.c and util.c to account for [0462a2612d1fc1d0] to resolve the build problem reported in [forum:9819032aac|forum post 9819032aac].
by stephan
· 1 year, 7 months ago
0588385
Simplification to sqlite3GetVarint32() to avoid confusing gcov.
by drh
· 1 year, 9 months ago
e744f66
According to [forum:/forumpost/9f6db917e1|forum post 9f6db917e1], older
by drh
· 1 year, 10 months ago
legacy-msvc-workaround
0d066bc
Resolve a condition which could cause an is-interrupted db to call its progress callback.
by stephan
· 1 year, 11 months ago
4d8eb16
Rename the decimal_sci() function to decimal_exp().
by drh
· 1 year, 11 months ago
b93760e
Use a dodgy substitute if the INFINITY macro is not available. See
by drh
· 1 year, 11 months ago
6de6121
Merge latest trunk changes into this branch.
by dan
· 2 years ago
wal-shm-exceptions
d3229ce
Remove an unreachable branch in the ascii-to-floating-point conversion that
by drh
· 2 years ago
cbaef88
Avoid ASAN warnings when converting over-sized long double values into double.
by drh
· 2 years ago
5202b7c
Update the latest trunk enhancements into the wal-shm-exceptions branch.
by drh
· 2 years ago
028acd9
Avoid a potentially large strlen() in sqlite3DecOrHexToI64().
by drh
· 2 years ago
cc9380f
Merge the latest trunk enhancements into the wal-shm-exceptions branch.
by drh
· 2 years ago
4c40b7b
Always use the "LL" suffix on 64-bit integer literals.
by drh
· 2 years ago
bc532ae
Fix harmless scan-build warnings.
by drh
· 2 years ago
50ba4e3
Omit the use of memmove() in sqlite3FpDecode() in an attempt to avoid
by drh
· 2 years ago
ff96718
Merge all recent trunk enhancements into the wal-shm-exceptions branch.
by drh
· 2 years ago
efd0cf8
This is alternative work-around for the x86 float-point problem that uses
by drh
· 2 years ago
fix-dekker-with-volatile
728650e
Improved comments on the work-around to the GCC x86 floating point wonkiness.
by drh
· 2 years ago
e68899f
Work around for an apparent GCC bug. See
by drh
· 2 years ago
85ca6d7
Make the order of operations explicit for the error term of Dekker
by drh
· 2 years, 1 month ago
1790ccb
Simplification of the dekkerMul2() subroutine.
by drh
· 2 years, 1 month ago
aa4356d
Enhance sqlite3AtoF() so that it honors the USELONGDOUBLE test-control.
by drh
· 2 years, 1 month ago
fp-to-decimal-refactor
1b3c6e7
Whether or not to use the long-double floating point conversion technique
by drh
· 2 years, 1 month ago
0478d1d
New test cases for floating-point conversions.
by drh
· 2 years, 1 month ago
841e596
Final clean-up of the idea of using Dekker double-precision floating
by drh
· 2 years, 1 month ago
fp-to-decimal-branch1
bc2b658
Squeeze as many bits as we can out of normalization.
by drh
· 2 years, 1 month ago
5270d74
Faster Dekker multiplication that removes the restriction on input magnitude.
by drh
· 2 years, 1 month ago
37b188f
Fix one constant in the normalization logic. Improved error output
by drh
· 2 years, 1 month ago
c8885d4
Replace the dodgy error estimating logic in the previous check-in with
by drh
· 2 years, 1 month ago
c27bda0
An idea for improving accuracy of fp-to-decimal conversion for systems that
by drh
· 2 years, 1 month ago
fecdff4
This check-in adds the use of "long double" to sqlite3FpDecode() which when
by drh
· 2 years, 1 month ago
17c20bb
Improved rounding policy.
by drh
· 2 years, 1 month ago
9ee9444
Improved response to Infinity and NaN. Remove the termporary fpdecode()
by drh
· 2 years, 1 month ago
42d042e
Progress towards fixing corner-case floating-point formatting issues.
by drh
· 2 years, 1 month ago
aebeaba
Begin cutting over sqlite3FpDecode() into printf(). The code in this
by drh
· 2 years, 1 month ago
002330d
Add decimal rounding to the sqlite3FpDecode() routine.
by drh
· 2 years, 1 month ago
a1b0ff1
Experiments with a new algorithm for converting ieee-754 binary64 numbers
by drh
· 2 years, 1 month ago
48114d0
Completely unwind the enhanced precision sum() from [a915f15a916af698] so
by drh
· 2 years, 1 month ago
60f4136
Make the sum() function less precise and slower in order to avoid
by drh
· 2 years, 1 month ago
8fbb335
Enhance the SUM() aggregate (and related AVG() and TOTAL()) so that the running
by drh
· 2 years, 1 month ago
60783f4
Improved accuracy of floating-point conversion constants as suggested by
by drh
· 2 years, 1 month ago
12b198f
Use ideas from T. J. Dekker in "A Floating-Point Technique for Extending the
by drh
· 2 years, 1 month ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
49d8e0e
Add support for hexadecimal integer literals in JSON.
by drh
· 2 years, 3 months ago
e61aa23
Attempt to suppress harmless compiler warnings reported by
by drh
· 2 years, 3 months ago
6b50742
Small performance enhancement to integer-to-text conversion.
by drh
· 2 years, 3 months ago
2fc9dc9
Fix sqlite3_prepare() so that it only invokes the progress handler on every
by drh
· 2 years, 6 months ago
f84cbd1
Attempt to provide a mechanism to do early termination of long-running
by drh
· 2 years, 6 months ago
fbde3f5
Avoid an unnecessary call to strlen() in the sqlite3VdbeMemStringify() routine,
by drh
· 2 years, 7 months ago
231ff4b
Enhance the sqlite3_stmt_scanstatus() API and add sqlite3_stmt_scanstatus_v2(). For creation of easier to read query performance reports.
by dan
· 2 years, 8 months ago
7741f34
Change the handling of hwtime.h to make it easier to compile performance
by drh
· 2 years, 8 months ago
173b418
Fix an assert() associated with the dbsqlfuzz error at [8372468bb5d8922c].
by drh
· 2 years, 11 months ago
0c7d3d3
Remove many redundant checks for sqlite3.mallocFailed now that any OOM should
by drh
· 3 years, 6 months ago
c692df2
Make it so that any Parse object is always linked into the database conenction
by drh
· 3 years, 6 months ago
f62641e
Add the sqlite3_error_offset() interface. Use it in the CLI to provide
by drh
· 3 years, 7 months ago
7e910f6
Add SQLITE_TESTCTRL_LOGEST and enhance the LogEst utility program.
by drh
· 3 years, 7 months ago
50fb7e0
Omit the OP_FilterInit opcode. Use OP_Blob to initialize each Bloom filter
by drh
· 3 years, 8 months ago
9fdd66e
Enabled the testcase() macros under SQLITE_DEBUG.
by drh
· 3 years, 9 months ago
f975107
Protect all accesses to the FuncDef.u and Expr.u unions using nearby
by drh
· 3 years, 10 months ago
9023444
If an EXCEPTION_IN_PAGE_ERROR exception is caught, make the underlying OS error code available via sqlite3_system_errno().
by dan
· 3 years, 10 months ago
e534c7b
Restore the use of system isnan() that was removed by
by drh
· 3 years, 11 months ago
b70f2ea
Rename the Column.eType field to Column.eCType - with an extra "C".
by drh
· 4 years ago
5f9de6e
Refactor sqlite3.magic into sqlite3.eOpenState.
by drh
· 4 years ago
15482bc
Fix harmless compiler warnings. Omit redundant copies of os_common.h and
by drh
· 4 years ago
cf9d36d
Refactor field names in the Column object, zCnName and zCnColl, to make them
by drh
· 4 years ago
c2df4d6
Recognize certain standard datatypes ("INT", "INTEGER", "REAL", "TEXT", and
by drh
· 4 years ago
77441fa
Avoid clownfeet in the names columns when the column names are quoted
by drh
· 4 years ago
88efc79
Size reduction and performance increase in sqlite3Prepare().
by drh
· 4 years, 7 months ago
359941b
Apple the same fix for ticket [9eda2697f5cc1aba] to text-to-integer
by drh
· 5 years ago
48bf2d7
Fix unreachable branches.
by drh
· 5 years ago
larger-databases
8deae5a
Fix signed/unsigned compiler warnings.
by drh
· 5 years ago
69306bf
Improvements to rootpage bounds checking during schema parse.
by drh
· 5 years ago
abc3815
Continuing work toward supporting unsigned 32-bit page numbers.
by drh
· 5 years ago
82b0f10
Add the sqlite3Int64ToText() routine and use it to convert integers to text,
by drh
· 5 years ago
15cedda
Minor simplification to the 32-bit varint decoder.
by drh
· 5 years ago
d44390c
Performance improvement for column name lookup.
by drh
· 5 years ago
b48c0d5
Simplify the code by removing the unsupported and undocumented
by drh
· 5 years ago
ef9f719
Fix #ifdefs so it compiles cleanly with all SQLITE_OMIT compile-time options.
by drh
· 6 years ago
87969b2
When doing a test-to-double conversion on a BLOB with an odd number of bytes
by drh
· 6 years ago
Next »