-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
float specifier maxes out at 20. #149
Comments
Yes |
Even in C89 |
This is a JS implementation and works inside JS limits so I don't think this is warranted. As a side note, if one's using JavaScript and is bloody serious about the number of digits after the decimal point and finds that 20 digits are insufficient, they're probably using some decimal type. Since this particular implementation has no support for custom types or custom formatting methods, they're probably not using this library either. That, or they print it out as a string and be done with it. |
Otoh what might work would be to do away with the type casting. Then one might be able to implement their own That would also mean users would have to pass arguments with the appropriate types (i.e. pass float when they mean float etc) Even though the chance of having someone complain the next day about me breaking their app is pretty high, Opinions? |
I updated my previous comment to make it clear that I'd probably agree with forcing users to pass arguments with the appropriate type. |
The issue I have is that I'm sharing |
e.g.
The text was updated successfully, but these errors were encountered: