Closed Rose1917 closed 1 year ago
Thanks for reporting, but this is not a bug.
From Readme:
Important. jkj::dragonbox::to_decimal is designed to work only with finite nonzero inputs. The behavior of it when given with infinities/NaN's/+0/-0 is undefined. jkj::dragonbox::to_chars and jkj::dragonbox::to_chars_n work fine for any inputs.
jkj::dragonbox::to_decimal
jkj::dragonbox::to_chars
jkj::dragonbox::to_chars_n
Thanks for reporting, but this is not a bug.
From Readme: