You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "flyingfish89 (via GitHub)" <gi...@apache.org> on 2023/02/11 14:52:50 UTC
[GitHub] [nuttx] flyingfish89 commented on pull request #8495: fix some bug of strtold
flyingfish89 commented on PR #8495:
URL: https://github.com/apache/nuttx/pull/8495#issuecomment-1426790371
> @flyingfish89 Thank you for this.
>
> Just to provide some feedback, after this patch, all tests pass, apart from specifically the following:
>
> ```lua
> assert(tonumber'+ 0.01' == nil and tonumber'+.e1' == nil and
> tonumber'1e' == nil and tonumber'1.0e+' == nil and
> tonumber'.' == nil)
> ```
>
> I think this is the only one left.
yes,i have tried these,and i have found if " '1.0e+' == nil " is wrong ,because it will return 1.0 and "+"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org