Skip to content
Snippets Groups Projects
Commit f6ee1c5b authored by Stephen Smith's avatar Stephen Smith
Browse files

added %e notation output for very small p
parent bb8653fe
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,10 @@ for (i=2; i<argc; i++)
if (twotailed)
p*=2;
printf("%f\n",p);
if (p>0.000001)
printf("%f\n",p);
else
printf("%e\n",p);
return(0);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment