|
From: Tom C. <tom...@sa...> - 2005-06-06 12:23:31
|
To restate, this should fail as an inexactly representable integer
value:
1000000000000000000000000000000000000000
But the following should succeed, because the inclusion of the
decimal point implies that the user knows it's a floating point
number with the associated potential precision and accuracy issues.
1000000000000000000000000000000000000000.0
I think this will meet our needs as well. I will modify my fix to
only take effect when a decimal point is found. If there is no other
discussion, I will test and push a fix in a couple of days. I'm not
sure how important this issue is to the general Firebird consumer; I
plan on pushing this change only to the Vulcan subtree, and leave it
to others to decide if this is worthwhile for FB2 or not.
On Jun 3, 2005, at 10:57 PM, Claudio Valderrama C. wrote:
> I prefer an error if we can't handle a literal integral value as
> an exact numeric. After
> all, if the user wants to use a literal FP value, he'/she will write
> something like 10000.0 to indicate that.
>
>
--
Tom Cole, tom...@sa...
"If at first you don't succeed, sky diving is not for you."
|