tech-kern archive

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

Re: [patch] changing lua_Number to int64_t



On Nov 17, 10:46am, lourival.neto%gmail.com@localhost (Lourival Vieira Neto) 
wrote:
-- Subject: Re: [patch] changing lua_Number to int64_t

| On Sun, Nov 17, 2013 at 7:37 AM, Marc Balmer <marc%msys.ch@localhost> wrote:
| > Am 17.11.13 04:49, schrieb Terry Moore:
| >> I believe that if you want the Lua scripts to be portable across NetBSD
| >> deployments, you should choose a well-known fixed width.
| >
| > I don't see this as very important.  Lua scripts will hardly depend on
| > the size of an integer.
| 
| But they could. I think that the script programmers should know if the
| numeric data type is enough for their usage (e.g., time diffs).

By making it the biggest type possible, you never need to be worried.

christos


Home | Main Index | Thread Index | Old Index