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

Change the implementation of the NaN recognition to be more cross-platform.

Ticket #3089. (CVS 5060)

FossilOrigin-Name: 07fd9a8c6ca0876f7ec447ce65173957005dc75c
This commit is contained in:
drh
2008-04-28 16:55:26 +00:00
parent f51bf48b32
commit 0de3ae95d5
7 changed files with 28 additions and 20 deletions

View File

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