lua-users home
lua-l archive

Search lua-l

This index contains 143,615 documents and 1,774,615 keywords. Last update on 2023-03-09 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ fixed: 3894 ] [ point: 15188 ]

Total 640 documents matching your query.

41. Re: Currency representation in Lua (score: 44)
Author: Rob Kendrick <rjek@...>
Date: Mon, 5 Sep 2016 09:39:09 +0100
Another thing that is important to remember: Not all currencies are decimal, and actually most currencies are /centimal/. There exist currencies where the subdivision is not 100: 10 and 1000 exist. T
42. Re: Next Version of Lua? (score: 44)
Author: Asko Kauppi <askok@...>
Date: Wed, 10 Jun 2009 20:44:22 +0300
Yes, we have. http://lua-users.org/cgi-bin/namazu.cgi?query=fixed+point&idxname=lua-l&max=20&result=normal&sort=score Olivier Hamel kirjoitti 10.6.2009 kello 19:16: Have we considered adding fixed po
43. Re: Currency representation in Lua (score: 41)
Author: Diogo Mildenberger <diogo.milde@...>
Date: Tue, 6 Sep 2016 09:02:50 -0300
44. Re: Lua Tables (score: 41)
Author: Pierre Chapuis <catwell@...>
Date: Tue, 17 Jan 2012 15:43:07 +0100
On 2012-01-17 15:29, Sandeep Ghai wrote: Hello Everyone, I am learning Lua starting from the basics. I am right now doing with 'Tables'. But I am stuck at some point. I have read upto the tables havi
45. Re: Integer patch for Lua 5.1 final (score: 38)
Author: "Ben Sunshine-Hill" <sneftel@...>
Date: Sun, 26 Feb 2006 15:59:40 -0800
I vaguely recall, though, someone on this list doing fixed point in Lua to make it work with BREW. It would be interesting to combine the two patches. You'd still only have one choice of fixed-point
46. Re: lua state serialization (WAS: Lua state) :: a poll (score: 36)
Author: Ben Sunshine-Hill <bsunshin@...>
Date: Mon, 21 Jun 2004 09:35:04 -0700
What you're basically talking about is plua (see the Wiki) for Win32. It's a good idea, assuming full serialization like that fits your needs. Note that if you have any exported functions that may ch
47. Re: Functions as first-class objects (score: 34)
Author: Alejandro Reimondo <aleReimondo@...>
Date: Sat, 8 Sep 2018 12:54:05 -0300
In in conventional computing paradigm, the source is the  most important product of programmer efforts. As the person is outside of the system (because the system will run  somewhere else, in anothe
48. RE: Integer patch for Lua 5.1 final (score: 34)
Author: "Nijdam, Marc" <mnijdam@...>
Date: Mon, 27 Feb 2006 11:30:51 -0800
Yep and that's what we did for now on BREW as well... We should be able to use floats shortly though FP exceptions will still be messy <snip> Yes, I have been looking at luaconf.h now, as well as sea
49. Re: Integer patch for Lua 5.1 final (score: 34)
Author: "Daniel Collins" <daniel.collins@...>
Date: Mon, 27 Feb 2006 12:41:37 +1030
<snip> Yes, I have been looking at luaconf.h now, as well as searching through the lua-list archives. I think that changing LUA_NUMBER to int (along with the associated changes in luaconf.h) will wo
50. Re: ## operator (error) (score: 33)
Author: Andrew Starks <andrew.starks@...>
Date: Sun, 23 Nov 2014 12:52:42 -0600
On Sunday, November 23, 2014, <tonyp@acm.org> wrote: You&rsquo;re almost right! But, I avoided to use the word decimal, I only used the word digit. (BTW &lsquo;always&rsquo; was in reference to &lsqu
51. Re: ## operator (error) (score: 33)
Author: <tonyp@...>
Date: Sun, 23 Nov 2014 20:32:18 +0200
You?re almost right! But, I avoided to use the word decimal, I only used the word digit. (BTW ?always? was in reference to ?writing? so I hope no one else will pop up saying that before that there wa
52. Re: New array type? (was: 'table' as fallback for tables) (score: 31)
Author: steve donovan <steve.j.donovan@...>
Date: Thu, 7 Jul 2016 09:26:05 +0200
It seems a specialized case to me? But that makes sense... OK, I see, like varargs... OK, I do see the point. This will cover most of the cases.
53. Re: Try-catch and try-finally (score: 31)
Author: Sean Conner <sean@...>
Date: Tue, 31 May 2016 13:24:44 -0400
It was thus said that the Great Alysson Cunha once stated: A long time ago in college I was writing a program and wanted to log any errors. The context of the program was such that I could not assume
54. Re: Luaw version 1.1.0 released (score: 31)
Author: raksoras lua <raksoraslua@...>
Date: Sat, 30 May 2015 13:06:19 -0700
Sorry, forgot to include the link :) https://github.com/raksoras/luaw/releases/tag/v1.1.0 Regards, - Susheel
55. Luaw version 1.1.0 released (score: 31)
Author: raksoras lua <raksoraslua@...>
Date: Sat, 30 May 2015 11:46:53 -0700
- Supports both PUC-Rio Lua and LuaJit - Single integrated build that builds all dependencies including libuv, PUC-Rio Lua, LuaJit and Luaw itself in single make command - Multipart file upload parse
56. RE: lua state serialization (WAS: Lua state) :: a poll (score: 31)
Author: "Alex Evans" <aevans@...>
Date: Mon, 21 Jun 2004 17:13:13 +0100
Hello, One solution to this problem which I am toying with the idea of using, is to allocate a pool of memory for use by the entire Lua environment (ie the LuaState and all its allocations), and poin
57. Re: Can a Lua implementation use 63-bit integers or even "big integers"? (score: 29)
Author: Philippe Verdy <verdyp@...>
Date: Sun, 5 Sep 2021 13:51:08 +0200
Yes, 64 bit pointers are larger than everything needed in Lua apps. In fact 64-bit OSes allow 64-bit pointer for memory addressing only in a more limited user space (in virtual memory) and keeps some
58. Re: Can a Lua implementation use 63-bit integers or even "big integers"? (score: 29)
Author: Coda Highland <chighland@...>
Date: Tue, 31 Aug 2021 09:38:26 -0500
I never said anything about using NaN tagging for integers. I was analogizing using the high bit to tag an integer versus other kinds of values to using NaN to tag a float versus other kinds of value
59. Re: Can a Lua implementation use 63-bit integers or even "big integers"? (score: 29)
Author: Philippe Verdy <verdyp@...>
Date: Tue, 31 Aug 2021 15:30:45 +0200
Using NAN tagging for integers is stupid: this means seeting the exponent part to the value used by NAN, then use the sign bit and mantissa field to store the integer value (except for 0 which uses t
60. Re: C binding strategy (score: 29)
Author: Coda Highland <chighland@...>
Date: Mon, 13 Aug 2012 22:34:16 -0700
My first recommendation given your use case is to consider using LuaJIT if it's available for your platform. You can then use your struct definitions directly from Lua code (point.x and point.y work

Search by Namazu v2.0.21