Skip to content

Make j2 a double #1358

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

Merged
merged 6 commits into from
May 6, 2017
Merged

Make j2 a double #1358

merged 6 commits into from
May 6, 2017

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented May 6, 2017

No description provided.

@@ -80,6 +81,9 @@ void GenerateConfiguration(Instant const& game_epoch,
}
if (body.has_j2()) {
gravity_model_cfg << " j2 = "
<< std::scientific
<< std::setprecision(
std::numeric_limits<double>::digits10 + 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use max_digits10.

<< std::setprecision(
std::numeric_limits<long double>::digits10 + 1)
std::numeric_limits<double>::digits10 + 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use max_digits10.

@eggrobin eggrobin added the LGTM label May 6, 2017
@pleroy pleroy merged commit e2be6f7 into mockingbirdnest:master May 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants