Andrew Wood <ajw...@theiet.org> wrote:
> One related question. The library Im using maps numeric types to one of
> the following C types:
> 
> unsigned long int
> signed long int
> unsigned int (short)
> signed int (short)
> float
> double
> 
> How does SQLite distinguish between ordinary floats and doubles, and
> between long & short ints, and signed or unsigned ints?

It doesn't. All integral values are signed 64-bit integers, all floating point 
values are 64-bit doubles. Of course, once you retrieved the value from the 
database, you may interpret it any way you want.
-- 
Igor Tandetnik


_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to