summaryrefslogtreecommitdiffhomepage
path: root/src/fmt_fp.c
AgeCommit message (Expand)Author
2021-07-26fmt_fp.c: add implicit cast from `mrb_float` to `int8_t`.Yukihiro "Matz" Matsumoto
2021-07-25Remove redundant include headers.Yukihiro "Matz" Matsumoto
2021-06-16Run pre-commit with GitHub ActionsJohn Bampton
2021-05-26fmt_fp.c: move mruby specific `mrb_float_to_str` to `numeric.c`Yukihiro "Matz" Matsumoto
2021-05-25fmt_fp.c: truncate precision to prevent buffer overflow.Yukihiro "Matz" Matsumoto
2021-05-25fmt_fp.c: use constant that depends on `mrb_float` size.Yukihiro "Matz" Matsumoto
2021-05-25fmt_fp.c: use a const int instead of a macro constant.Yukihiro "Matz" Matsumoto
2021-05-24fmt_fp.c: exponential may be bigger than `100`.Yukihiro "Matz" Matsumoto
2021-05-22Fix typo in `src/fmt_fp.c` [ci skip]KOBAYASHI Shuji
2021-05-22fp_fmt.c: remove `mrb_float_to_cstr()`.Yukihiro "Matz" Matsumoto
2021-05-22fmt_fp.c: replace with public domain float format routine; ref #5448Yukihiro "Matz" Matsumoto
2021-05-21fmt_fp.c: remove `fmt` argument from `mrb_float_to_str()`.Yukihiro "Matz" Matsumoto
2021-05-21numeric.h: remove 2 functions from `MRB_API`Yukihiro "Matz" Matsumoto
2021-04-16feat(CI): add the GitHub Super LinterJohn Bampton
2021-01-02Avoid double inclusion on `<mruby.h>`.Yukihiro "Matz" Matsumoto
2020-11-26Include `mruby.h` instead of `mrbconf.h` directly.Yukihiro "Matz" Matsumoto
2020-11-24Add `#include <mrbconf.h>` at the head of `fmt_fp.c`; #5185Yukihiro "Matz" Matsumoto
2020-11-21Rename `MRB_{ENABLE,DISABLE}_` to `MRB_{USE,NO}_`; close #5163KOBAYASHI Shuji
2020-10-12Rename float configuration option names.Yukihiro "Matz" Matsumoto
2020-06-05Add proper cast.Yukihiro "Matz" Matsumoto
2020-06-05Add proper casts to silence VC warnings.Yukihiro "Matz" Matsumoto
2020-04-11Add `mrb_float_to_cstr()` MRB_API functiondearblue
2020-04-11Supports some specifier flags with `mrb_float_to_str()`dearblue
2020-04-11Supports width specifier with `mrb_float_to_str()`dearblue
2020-04-11Add missing `MRB_API`dearblue
2020-01-01Do not include `stdint.h` before `mruby.h`; ref #4750dearblue
2019-04-03Modify `#else` and `#endif` annotations in `src/fmt_fp.c` [ci skip]KOBAYASHI Shuji
2019-03-15Use `fmt_fp()` for portable float representation.Yukihiro "Matz" Matsumoto
2018-11-07Wrong pool data length for negative floating value in a mrb file.Hiroshi Mimaki
2018-08-01Simply use `snprintf` instead of custom `fmt_fp`,Yukihiro "Matz" Matsumoto
2017-11-04Avoid compiling `fmt_fp.c` if `MRB_WITHOUT_FLOAT` is set; #3827Yukihiro "Matz" Matsumoto
2017-08-25fix fmt_fp.c(329) : warning C4244: 'return' : conversion from 'ptrdiff_t' to ...Tomasz Dąbrowski
2017-08-25fix fmt_fp.c(251) : warning C4244: '=' : conversion from '__int64' to 'int', ...Tomasz Dąbrowski
2017-08-25fix fmt_fp.c(224) : warning C4244: '=' : conversion from 'ptrdiff_t' to 'int'...Tomasz Dąbrowski
2017-08-25fix fmt_fp.c(220) : warning C4244: '=' : conversion from '__int64' to 'int', ...Tomasz Dąbrowski
2017-08-25fix fmt_fp.c(206) : warning C4244: 'initializing' : conversion from 'ptrdiff_...Tomasz Dąbrowski
2017-08-25fix fmt_fp.c(178) : warning C4244: 'return' : conversion from 'ptrdiff_t' to ...Tomasz Dąbrowski
2017-08-25fix fmt_fp.c(123) : warning C4244: 'return' : conversion from 'ptrdiff_t' to ...Tomasz Dąbrowski
2017-08-19Reduce signed/unsigned warnings in dump.cYukihiro "Matz" Matsumoto
2017-08-19Reduce signed/unsigned warnings in fmt_fp.cYukihiro "Matz" Matsumoto
2017-08-19Use `ptrdiff_t` instead of `int`.Yukihiro "Matz" Matsumoto
2017-08-18Separate `mrb_str_buf_new` and `mrb_str_new_capa`.Yukihiro "Matz" Matsumoto
2017-08-12Reduce integer type mismatch warnings in VC.Yukihiro "Matz" Matsumoto
2016-09-28Removed trailing spacesNobuyoshi Nakada
2015-12-22fix build on VS2012Yasuhiro Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-07-29always call frexp() instead of frexpl()cremno
2015-07-1664bit Cygwin also doesn't have frexpl(3)takkaw
2015-07-06fix androideabi cross-compile error : undefined reference to 'frexpl'xuejianqing
2015-06-06Fix build on MIPS of linuxNobuhiro Iwamatsu