Petite Abeille wrote:
> I don’t thing the various ANSI standards have anything normative to
> say about what the result of a division should be, merely that there
> is a division operator.

Indeed:
| <numeric value expression>
|
| Syntax Rules
|
| 1) If the declared type of both operands of a dyadic arithmetic
|    operator is exact numeric, then the declared type of the result is
|    an implementation-defined exact numeric type, [...]
|
|    d) The precision and scale of the result of division are
|       implementation-defined.
|
| 2) If the declared type of either operand of a dyadic arithmetic
|    operator is approximate numeric, then the declared type of the
|    result is an implementation-defined approximate numeric type.


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

Reply via email to