Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
majewsky
on July 28, 2018
|
parent
|
context
|
favorite
| on:
Ryū: Fast Float-To-String Conversion
sprintf
nwellnhof
on July 28, 2018
[–]
Then main drawbacks of sprintf are that it doesn't allow to find the shortest decimal representation and that its output depends on the current locale, so you often need something like sprintf_l which isn't portable.
Bromskloss
on July 28, 2018
|
parent
[–]
Why is it not portable?
rurban
on July 31, 2018
|
root
|
parent
[–]
Because only very few libc's support it. There should also be a locale independent _sprintf_c somewhen.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: