sMinfpconstprec/de: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: sMinfpconstprec/de
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Zurück zu den [[local compiler directives/de|lokalen Compilerdirektiven]].\ | |
| 2 | + | ||
| 3 | + | =\$MINFPCONSTPREC= Die Direktive \$MINFPCONSTPREC legt die Mindestgenauigkeit fest, mit der Fliesskommakonstanten gespeichert werden.\ | |
| 4 | + | Folgende Schalter sind möglich:\ | |
| 5 | + | 32\ | |
| 6 | + | 64\ | |
| 7 | + | Default\ | |
| 8 | + | ||
| 9 | + | Die Mindestgenauigkeit mit der die Fliesskommakonstanten gespeichert werden hat nichts mit der Rechengenauigkeit zu tun.\ | |
| 10 | + | ||
| 11 | + | Beispiel:\ | |
| 12 | + | ||
| 13 | + | // damit wird die Fliesskommakonstante mit einer Genauigkeit von 64 Bit gespeichert | |
| 14 | + | {$MINFPCONSTPREC 64} | |
| 15 | + | Const | |
| 16 | + | conFloat = 1.23; | |
| 17 | + | ||
| 18 | + | Die Direktive {\$MINFPCONSTPREC ...} entspricht der Kommandozeilen Option -CF.\ | |
| 19 | + | ||
| 20 | + | --Olaf 19:53, 8 January 2013 (UTC) | |
| 21 | + | ||
| 22 | + | --- | |
| 23 | + | *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](/wiki-contact).* | |
| 24 | + | Category: Free Pascal Programmers Guide/de |
