質問

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