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

Fix one constant in the normalization logic. Improved error output

from atof1.test.

FossilOrigin-Name: d3c48807100a358a70fdd799c8935eba1b765ace2e1ddea4475fd673006cb6da
This commit is contained in:
drh
2023-07-03 10:00:38 +00:00
parent c8885d42fe
commit 37b188fbca
4 changed files with 16 additions and 10 deletions

View File

@@ -1027,7 +1027,7 @@ void sqlite3FpDecode(FpDecode *p, double r, int iRound, int mxRound){
mul2(r,rr, 1.0e-01, -5.5511151231257827021e-18, &r, &rr);
}
}else{
while( r<1.0e-98 ){
while( r<1.0e-82 ){
exp -= 100;
mul2(r, rr, 1.0e+100, -1.5902891109759918046, &r, &rr);
}