1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Improved response to Infinity and NaN. Remove the termporary fpdecode()

function.

FossilOrigin-Name: 76ab8ae809a47a66688e2d50c20dc87ce946d82e9ffebb3adda55c451fad07fc
This commit is contained in:
drh
2023-07-01 15:23:24 +00:00
parent 42d042e602
commit 9ee9444a0a
6 changed files with 43 additions and 79 deletions

View File

@@ -4604,8 +4604,7 @@ struct PrintfArguments {
*/
struct FpDecode {
char sign; /* '+' or '-' */
char isNan; /* True if not-a-number */
char isInf; /* True if infinity */
char isSpecial; /* 1: Infinity 2: NaN */
int n; /* Significant digits in the decode */
int iDP; /* Location of the decimal point */
char z[24]; /* Significiant digits */