C: float-Ergebnis -1.#IND

Hallo,

ich bekomme bei einer Berechnung in meinem Programm für eine Float-Zahl den Rückgabewert

-1.#IND

Weiss jemand was das ist?

Vielen Dank,

Michl

Hi Michl,

-1.#INF bedeutet, das die berechnete Zahl nicht von Deiner float
Variable dargestellt werden kann, INF steht für Infinity. Prüf mal nach, ob Du irgendwo eine Division durch 0 hast.

Gruß Patrick