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
Hi, with
printf_("%d degrees = %1.6e \n", i, tmp);
I get
169 degrees = 1.100000e+01 170 degrees = 10.000000e+00 171 degrees = 9.000000e+00
Shouldn't it print "1.000000e+01" instead?
The text was updated successfully, but these errors were encountered:
How are you setting the values of i and tmp?
i
tmp
I'm getting 1.000000e+01 with:
1.000000e+01
#include <stdio.h> #include "printf.h" void _putchar(char character) { putchar(character); } int main() { float tmp = 10.0; printf_("%1.6e\n", tmp); }
Sorry, something went wrong.
No branches or pull requests
Hi, with
printf_("%d degrees = %1.6e \n", i, tmp);
I get
Shouldn't it print "1.000000e+01" instead?
The text was updated successfully, but these errors were encountered: