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

Remove the dependency on libm for isnan(). Ticket #2436. (CVS 4103)

FossilOrigin-Name: 406675bb1c954dae95b9059f7f533ed57e3947d9
This commit is contained in:
drh
2007-06-20 15:29:25 +00:00
parent 029f3f8924
commit 7cd6927e7f
6 changed files with 16 additions and 18 deletions

View File

@@ -454,7 +454,7 @@ static int vxprintf(
if( xtype==etFLOAT ) realvalue += rounder;
/* Normalize realvalue to within 10.0 > realvalue >= 1.0 */
exp = 0;
if( isnan(realvalue) ){
if( sqlite3_isnan(realvalue) ){
bufpt = "NaN";
length = 3;
break;