Autor Beitrag
void*
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 31



BeitragVerfasst: Di 14.12.04 08:57 
Hallo,

ich habe hier das Problem, daß auf einmal bei einer illegalen Gleitkommaoperation (z.B. arcsin(3)) keine Exception mehr ausgelöwird, sondern das Ergebnis zu Nan wird und weitergerechnet wird (Delphi 7 EE)?
Kennt jemand dieses Phänomen oder den Auslöser?

Gruß
void*
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Di 14.12.04 10:05 
Du kannst dir ja selbst eine Exception bauen. Einfach abfragen ob der Wert, der an die Funktion übergeben wird > 3 ist ;)

AXMD