On 2019-12-26 19:01, Mark Rotteveel wrote:
On 26/12/2019 16:43, Mark Rotteveel wrote:

Formally, I take this to mean we should choose one type, eg DECIMAL, but that would probably not match people assuming that literal without decimal points are integral literals.

We could consider a middle ground where literals without decimal point with 18 or less digits are BIGINT, that longer literals are DECIMAL, and that literals with decimal point are DECIMAL.

On a related note, I just noticed that exact numeric literals with more than 19 digits have a subtype that is equal to the length of the literal (digits + decimal point).

That's a bug :-) Right now working on it.




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to