문제

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