You can find a whole bunch of loadable extensions at: <http://www.dessus.com/files/sqlite3extensions.zip> The particular math and floating pointing functions are in: <http://www.dessus.com/files/sqlmath.c> <http://www.dessus.com/files/sqlfcmp.c> (the epsilon/ulp/ulps/rounding functions are in the latter sqlfcmp.c) The zip file is so big because it also contains the (I believe current) GeoJSON for creation of the lat/long to timezone database plus the wee Python programs that will create the database for use by the "modified" datetime functions.