| |
|
|
Jörg Sellmeyer | |
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 05/24/18 ▲ |
|
|
|
|
RGH | Hi,
the lying on it, that not any Ganzzahlen a exakte interne bit-correspondence as Fließkommazahl having.
(this is too the reason, Why compare of Fließkommazahlen with Ganzzahlen gladly moreover weg and never akin go should.)
These Lines show the trouble:
with the Defaulteinstellung of 6 Nachkommastellen, falls not so slight on. with Round() can itself the trouble bypass.
I have long in the Finanzbranche program and there was a stetige entrapment, The on eachone corner hereon waited, that one hineinfällt. The problem is also available in JAVA, Delphi or C, there it with the internen statement of Fließkommazahlen the Prozessors To do has. some Languages afford for rundungsfehlerfreie Berechnungen therefore BCD-Arithmetik on.
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 05/24/18 ▲ |
|
|
|
|
Jörg Sellmeyer | thanks, the declared it.
here [...] are a couple Opportunities, around the without Rundungsprobleme To solve. |
|
|
| |
|
|