Sign in Join
Wiki copytemporary

sMinfpconstprec/de

Zurück zu den lokalen Compilerdirektiven.\

=$MINFPCONSTPREC= Die Direktive $MINFPCONSTPREC legt die Mindestgenauigkeit fest, mit der Fliesskommakonstanten gespeichert werden.
Folgende Schalter sind möglich:
32
64
Default\

Die Mindestgenauigkeit mit der die Fliesskommakonstanten gespeichert werden hat nichts mit der Rechengenauigkeit zu tun.\

Beispiel:\

pascal
// damit wird die Fliesskommakonstante mit einer Genauigkeit von 64 Bit gespeichert
{$MINFPCONSTPREC 64}
Const
  conFloat = 1.23;

Die Direktive {$MINFPCONSTPREC ...} entspricht der Kommandozeilen Option -CF.\

--Olaf 19:53, 8 January 2013 (UTC)


From the Free Pascal wiki, page "sMinfpconstprec/de", as it stood on 2013-04-21 after a change by Olaf, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 2 people, 2013

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
OlafCreated page
Olaf
Olaf (minor)
Olaf (minor)
Swen (minor)
Olaf (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.