Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top