Einzelnen Beitrag anzeigen

Benutzerbild von 3_of_8
3_of_8

Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
 
Turbo Delphi für Win32
 
#13

Re: Ungültige Gleitkommaoperation bei Hausaufgabe

  Alt 31. Mai 2007, 21:51
Ich glaube eher hier:

sqrt((p/2)*(p/2) - q) Wenn also q>p²/4, bekommst du ein Problem, weil komplexe Zahlen von Delphi nicht standardmäßig unterstützt wird.
Manuel Eberl
„The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
  Mit Zitat antworten Zitat