On May 12, 2013 11:36 PM, "James K. Lowden" <jklow...@schemamania.org>
wrote:

I'd add also that syntactically the key need is to distinguish "use
floating point arithmetic" from "use integer arithmetic" where no other
type information is available, specifically in numeric constant literals.
Having a decimal part on numeric constant literals (even though 1.0 and so
on are still integers, mathematically-speaking) traditionally serves this
role.  It's difficult to imagine a more compact and recognizable syntax
than that!

In some languages this is achieved by having a multiplicity of different
operators for the same arithmetic operations, one set for integer
arithmetic, another for dousing point, but this requires remembering more
things.

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

Reply via email to