Skip to content

Instantly share code, notes, and snippets.

@taraijpn
Created April 13, 2017 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taraijpn/713f4d9cd2cd7cc0ca10ac44588d2e3c to your computer and use it in GitHub Desktop.
Save taraijpn/713f4d9cd2cd7cc0ca10ac44588d2e3c to your computer and use it in GitHub Desktop.
double ++ てすと。
#include<stdio.h>
int main()
{
double n = 0.0;
double x = 0.0;
for (n = 0; n <= 30; n++) {
x = 0.1 * n;
printf("%.16e %.16g\n", x, n);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment