3 ms·
I would probably have used the first because it would not have occurred to me I could use the second. FWIW the following prints 1, so it's probably a matter of
by jraph 4y ago
I would probably have used the first because it would not have occurred to me I could use the second.
FWIW the following prints 1, so it's probably a matter of taste:
int main() {
printf("%d\n", 3.986004418e14 == 3.986004418 * pow(10.0, 14.0));
}
I prefer the second one for sure.