سؤال

Suppose that: a=5.7675e+07

when i execute pow2(a), it gives me INF. While when i execute a*a or a^2, it gives me 5.7675e+07.

how to explain this?

هل كانت مفيدة؟

المحلول

pow2(a) returns 2^a, not a^2.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top