Emile Cormier

Results 281 comments of Emile Cormier

@expnkx I agree the API for `std::strtod` is terrible. I'm more concerned about the penalty of pre-tokenizing the number than the actual API. Matching the `std::strtod` API would make it...

@expnkx The purpose of this issue is to improve this project, not to promote your library.

@expnkx I don't mind your suggestions for a better API **within the scope of this project**. What I **do** mind is your insistance to use your library instead of this...

@ulfjack Consuming as much as possible is exactly what `std::strtod`, `std::from_chars`, and `double_conversion::StringToDoubleConverter::StringToDouble` do (up to a maximum specified by the caller), and they return the number of characters consumed....

@expnkx Why not? Users currently have to copy and paste a magic number buried inside an internal source file. If the buffer size needs to change for some reason, those...

> Macro itself is a problem. It always pollutes every code it touches. I don't deny that, but there's no other zero-cost alternative in C (this library is written in...

You are free to disagree on technical matters, but I will no longer tolerate any personal attacks from you.

@ulfjack I have no way of contacting you privately, so I'm posting this here. You have a problem here with a user who keeps harassing the participants of your issue...

@ulfjack I can provide you with screenshots of this issue thread before the user in question deleted the worst of the personal insults. If you have email notifications enabled, please...

> for c the choices are limited, maybe something like this: > > ``` > struct ryu_float_buffer { char buffer[sizeof("-1.23456789e-12")]; }; > struct ryu_double_buffer { char buffer[sizeof("-1.2345678901234567e-123")]; }; > ```...