[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [5.3] Converting a floating point number to integer.
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 18 Nov 2014 08:29:27 +0200
2014-11-18 6:11 GMT+02:00 Tim Hill <drtimhill@gmail.com>:
> Now, I know what is going on, and you know what is going on.
> But does the average scripter know?
Does the average scripter know what is going on with
metamethods, coroutines, the call stack, upvalues etc?
Some things in Lua are hard merely because the
underlying computer science concept is hard. The
subtlety of hardware representation of numbers is
not easy. If the average scripter does not understand
twos complement, integer overflow, etc, there is no way
that Lua can supply the deficiency, short of seamlessly
switching to multiprecision like Python does.