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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user