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
#include <iostream> #include <limits> #include <yaml-cpp/yaml.h> int main() { auto yaml_node = YAML::Node( std::numeric_limits<double>::infinity() ); std::cout << yaml_node << std::endl; return 0; }
Output: *inf" Expected output: ".inf", "+.inf", ".Inf" ... see YAML 1.2 Core schema tag resolution.
Notable that yaml-cpp correctly throws YAML::TypedBadConversion if one tries to parse "inf" as double.
The text was updated successfully, but these errors were encountered:
is it possible to make the pull request pass the tests and merge it ?
Sorry, something went wrong.
I think this specific issue is fixed in e0e01d5.
ah, great! thanks
Successfully merging a pull request may close this issue.
Output: *inf"
Expected output: ".inf", "+.inf", ".Inf" ... see YAML 1.2 Core schema tag resolution.
Notable that yaml-cpp correctly throws YAML::TypedBadConversion if one tries to parse "inf" as double.
The text was updated successfully, but these errors were encountered: