Subject | Re: IB dumber than a $5 calculator |
---|---|
Author | alex_vnru |
Post date | 2002-05-30T15:58:13Z |
--- In ib-support@y..., Paul Reeves <paul@f...> wrote:
operators (MUL, DIV, MOD) and common arithmetic ones. Don't you think
that implantating special operators for integer arithmetic and forcing
common operators to work on floating point rules in dialect 3 of FB
you will stop Numeric Wars and everyone will do exactly what he want?
Best regards, Alexander V.Nevsky.
> The problem arises when division is carried out on integers.Paul, many languages have (not shure in my English here) integer
>
> For intance,
>
> select (3 / 10) * 3.333 from rdb$database;
>
> =====================
>
> 0.000
operators (MUL, DIV, MOD) and common arithmetic ones. Don't you think
that implantating special operators for integer arithmetic and forcing
common operators to work on floating point rules in dialect 3 of FB
you will stop Numeric Wars and everyone will do exactly what he want?
Best regards, Alexander V.Nevsky.