Autor Beitrag
Hexenkönig
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 41

Win XP
Delphi 2005 Personal, Delphi 5 Standart
BeitragVerfasst: Sa 16.12.06 16:37 
Hallöchen!

Ich habe mal ne Frage, nur so aus Interesse. Ich will im Moment nichts damit machen, aber es interessiert mich einfach:
Wie kann man eigentlich mit sehr große Zahlen (mit mehreren tausend stellen) rechnen?
Leute, die z.b. Pi berechnen oder Primzahlen finden oder solche Späße müssen das ja auch irgendiwe machen und ich kann mir nicht vorstellen, dass das an diesen Super-Rechnern liegt, denn die Daten müssen ja trotzdem in Variablen gepsiechert werden. Ist sowas auch mit Delphi möglich?
Wie gesagt: nur aus Interesse, ihr braucht mich nicht zu frgaen, wozu ich das brauche oder so, mich interessiert nur, wie das funktioniert.

_________________
Irren ist menschlich, aber wenn man richtigen Mist bauen will, braucht man einen Computer.
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Sa 16.12.06 17:29 
Wie wärs mit der Suche?

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Hexenkönig Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 41

Win XP
Delphi 2005 Personal, Delphi 5 Standart
BeitragVerfasst: Sa 16.12.06 18:03 
nix gefunden

_________________
Irren ist menschlich, aber wenn man richtigen Mist bauen will, braucht man einen Computer.
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: Sa 16.12.06 18:08 
Im Wesentlichen führt man für solche Berechnungen auf die Grundoperationen mit kleinen Zahlen zurück. Anstatt also 11+99 zu rechnen, berechnet man 1+9 und 1+9 + Übertrag.

_________________
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.
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Sa 16.12.06 18:10 
Such mal nach very-long-integer (VLI)

_________________
Markus Kinzler.