Autor Beitrag
Swordooo
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 119

W2K, Windows XP Professional
Delphi 2005 Personal, Delphi 7 Personal
BeitragVerfasst: Do 03.07.08 14:05 
Hi,
Ich will eine mathematische Berechnung machen, die sehr, sehr genau sein muss!! Deshalb sollte sie so bis 50 Kommastellen haben. Jedoch glaube ich, dass Extended das nicht schafft, da dieser Typ nur 20 Stellen unterstützt, oder?!
Was kann ich machen?

MfG Swordooo
ZeitGeist87
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1593
Erhaltene Danke: 20

Win95-Win10
Delphi 10 Seattle, Rad Studio 2007, Delphi 7 Prof., C++, WSH, Turbo Pascal, PHP, Delphi X2
BeitragVerfasst: Do 03.07.08 14:06 

_________________
Wer Provokationen, Ironie, Sarkasmus oder Zynismus herauslesen kann soll sie ignorieren um den Inhalt meiner Beiträge ungetrübt erfassen zu können.
Swordooo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 119

W2K, Windows XP Professional
Delphi 2005 Personal, Delphi 7 Personal
BeitragVerfasst: Do 03.07.08 14:24 
ähh *mist*e, was is das denn?? versteh ich nicht (sry bin nicht so ein pro);
gibt es da noch ne andere lösung?;

MfG Swordooo;

(jez schreib ich die ";" auch schon hier xD)
ZeitGeist87
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1593
Erhaltene Danke: 20

Win95-Win10
Delphi 10 Seattle, Rad Studio 2007, Delphi 7 Prof., C++, WSH, Turbo Pascal, PHP, Delphi X2
BeitragVerfasst: Do 03.07.08 15:07 

_________________
Wer Provokationen, Ironie, Sarkasmus oder Zynismus herauslesen kann soll sie ignorieren um den Inhalt meiner Beiträge ungetrübt erfassen zu können.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 03.07.08 16:45 
Was Du brauchst, ist eine Großzahlen-Arithmetik-Bibliothek ... Halt in die Richtung BigNum2 (siehe Link oben) oder BigDecimal und was es da nicht alles gibt. Und was ist daran so schwer zu verstehen, wie diese Unit zu nutzen ist?

Ansonsten empfehle ich Christian's Crashkurs.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
huuuuuh
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 665
Erhaltene Danke: 19

win xp, (win vista), win 7
VS 2008 Express Edition, VS 2010 Express Edition, VS 2010 Professionell
BeitragVerfasst: Do 03.07.08 16:50 
ich glaube er meint 50 nachkommastellen...
nagel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 708

Win7, Ubuntu 10.10

BeitragVerfasst: Do 03.07.08 17:25 
Glaub das wurde auch so verstanden ;) .
Swordooo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 119

W2K, Windows XP Professional
Delphi 2005 Personal, Delphi 7 Personal
BeitragVerfasst: Do 03.07.08 17:54 
Ja ich meine 50 nach kommastellen, und wo soll ich das in die Unit1 einfügen?
Grenzgaenger
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 03.07.08 20:00 
warum denn? du brauchst doch nur 'ne ordentliche masseinheit nehmen, dann klappt das doch auch im standard :-)
huuuuuh
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 665
Erhaltene Danke: 19

win xp, (win vista), win 7
VS 2008 Express Edition, VS 2010 Express Edition, VS 2010 Professionell
BeitragVerfasst: Do 03.07.08 20:06 
kein standard datentyp von delphi schafft 50 nachkommastellen
Hidden
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2242
Erhaltene Danke: 55

Win10
VS Code, Delphi 2010 Prof.
BeitragVerfasst: Do 03.07.08 20:11 
Hi,

imho ist da am Ende Ganz- und Gleitkommazahl völlig identisch: Man nehme intern eine beliebige lange Zahl à la BigNum und bewerte sie bei der Ausgabe mit dem Faktor 10^50.

mfG,

_________________
Centaur spears can block many spells, but no one tries to block if they see that the spell is a certain shade of green. For this purpose it is useful to know some green stunning hexes. (HPMoR)
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Do 03.07.08 20:20 
Moin!

@user profile iconSwordooo: Geht es immernoch um dein Wurzelprojekt? ;) Wenn ja, willst du mit der Wurzel weiterrechnen oder einfach nur möglichst viele Nachkommastellen der Wurzel bestimmen? :nixweiss:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.