We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue by bob-carpenter Friday Jan 17, 2014 at 21:23 GMT Originally opened as https://github.com/stan-dev/stan/issues/497
Improve the integer parser for the dump format to accept integers like 1e8 by noticing that they have no decimals in their mantissa.
1e8
It might be easiest to read them into double-precision floats, then cast to int.
We should also test for overflow in sizes while we still restrict to int.
int
The text was updated successfully, but these errors were encountered:
Comment by syclik Wednesday Nov 30, 2016 at 14:57 GMT
This should be an easy issue to pick off for someone that can read through src/stan/io/dump.hpp.
src/stan/io/dump.hpp
Sorry, something went wrong.
Comment by bob-carpenter Wednesday Nov 30, 2016 at 20:09 GMT
Just need to get the ordering right so that the parser doesn't automatically assume something with an e in it is a double value.
No branches or pull requests
Issue by bob-carpenter
Friday Jan 17, 2014 at 21:23 GMT
Originally opened as https://github.com/stan-dev/stan/issues/497
Improve the integer parser for the dump format to accept integers like
1e8
by noticing that they have no decimals in their mantissa.It might be easiest to read them into double-precision floats, then cast to int.
We should also test for overflow in sizes while we still restrict to
int
.The text was updated successfully, but these errors were encountered: