Re: Numbers are buggy?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Numbers are buggy?
- From: "Soni \"They/Them\" L." <fakedme@...>
- Date: Mon, 8 Apr 2019 13:07:37 -0300
On 2019年04月08日 12:51 p.m., Soni "They/Them" L. wrote:
$ lua
Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
> foo=1print(foo)
1
> a=1f()
stdin:1: malformed number near '1f'
> a=1g()
stdin:1: attempt to call a nil value (global 'g')
stack traceback:
stdin:1: in main chunk
[C]: in ?
>
This seems to exist since the introduction of hex literals (Lua 5.2).
Not sure of the exact revision.
Sorry, I mean since the introduction of hex fractional parts and binary
exponents.