aboutsummaryrefslogtreecommitdiff
path: root/fpconv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature: Lua 5.3 + 5.4 integer support, with CI and conflicts fixed.Hisham Muhammad2024-06-111-1/+1
| | | | | | | | | | Co-Authored-By: Hisham Muhammad <hisham@gobolinux.org> Co-authored-by: Mark Pulford <mark@kyne.com.au> Co-authored-by: ichenq <ichenq@gmail.com> Co-authored-by: Cloud Wu <cloudwu@gmail.com> Co-authored-by: caijietao <t0350.prog@gmail.com> Co-authored-by: actboy168 <actboy168@gmail.com> Co-authored-by: wudeng <wudeng256@gmail.com> Co-authored-by: caiyiheng <rangercyh@qq.com>
* optimization: add void to functions with no arguments to prevent compiler ↵lijunlong2023-02-221-2/+2
| | | | warning.
* feature: supports MS C compiler older than VC2012.spacewander2017-01-311-0/+6
| | | | Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
* fix 16 decimal number encoding assertionThibault Charbonnier2016-02-261-1/+1
|
* Update copyright date range to include 2012Mark Pulford2012-03-041-0/+24
|
* Use static strtod() buffer where possibleMark Pulford2012-03-041-5/+13
| | | | | Use static strtod() buffer where possible to improve performance 5-10% under locales with a comma decimal point.
* Sanitise locale code, comments and documentationMark Pulford2012-01-011-26/+44
|
* Fix minor warning from Clang analyzerMark Pulford2011-12-311-1/+1
|
* Add fpconv to work around comma decimal pointsMark Pulford2011-12-301-0/+155
Create a separate buffer and translate comma <> dot before calling strtod(), and after calling sprintf() as required. - Add "update_locale" Lua API call and init locale on module load. - Move sprintf format string to fpconv