Вопрос

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