Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么查询结果不支持返回number类型,而是将number类型也按string类型返回? #123

Open
chinahuangdada opened this issue May 26, 2021 · 0 comments

Comments

@chinahuangdada
Copy link

chinahuangdada commented May 26, 2021

lua文档:
lua_Number
typedef double lua_Number;
lua源码:
#define LUA_NUMBER long double

在代码中看到了这个注释:
-- converters[0x08] = tonumber -- long long

请问注释的原因,是因为 lua语言5.3以前的版本不能完整支持64比特位数字导致的吗?如果不是,那具体是什么原因?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant