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

Make the sqlite3IsNaN() function a macro that evaluates to FALSE when

compiled with SQLITE_OMIT_FLOATING_POINT.

FossilOrigin-Name: 56f232d562bc239103a5afd2e64c4b926a20de08
This commit is contained in:
drh
2010-01-13 17:39:53 +00:00
parent 90038f8b07
commit 85c8f291e3
4 changed files with 18 additions and 12 deletions

View File

@@ -31,6 +31,7 @@ void sqlite3Coverage(int x){
}
#endif
#ifndef SQLITE_OMIT_FLOATING_POINT
/*
** Return true if the floating point value is Not a Number (NaN).
**
@@ -75,6 +76,7 @@ int sqlite3IsNaN(double x){
testcase( rc );
return rc;
}
#endif /* SQLITE_OMIT_FLOATING_POINT */
/*
** Compute a string length that is limited to what can be stored in