lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Aug 9, 2011 at 17:41, David Kastrup <dak@gnu.org> wrote:
> Leo Razoumov <slonik.az@gmail.com> writes:
>>> Complex numbers are not an ordered field [1], that is, you cannot
>> define an ordering which is consistent with arithmetic operations [2]
>
> That's apparently accepted nomenclature, but I have to say that I find
> this use of "consistent" rather arbitrary.

David,
I am not going to debate text-book material on Complex Numbers with
you that is only tangentially relevant to Lua. Any good college book
on Algebra would do.

As you pointed out in your previous posting, your proposed ordering
works fine as long as you ensure that the constant multipliers are
_real_ numbers. Therefore, it makes even more sense to allow for both
numeric types _real_ and _complex_ to be present in the language.
Otherwise, you will have to check if(z*==z) all the time. And keep in
mind that complex conjugation is not a linear operation.

This is all I have to say. Since I feel some anger in your previous
posting I would sign off from this thread for good.

Regards,
--Leo--