diff -up sqlite-3.5.9/src/util.c.nan-ix86-fix sqlite-3.5.9/src/util.c --- sqlite-3.5.9/src/util.c.nan-ix86-fix 2008-05-13 19:41:50.000000000 +0300 +++ sqlite-3.5.9/src/util.c 2009-01-17 12:30:30.000000000 +0200 @@ -35,7 +35,8 @@ int sqlite3IsNaN(double x){ ** rules/specifications for math functions. */ volatile double y = x; - return x!=y; + volatile double z = y; + return y!=z; } /*