Properties
Category
German
Similar Topics
Statistics
Comments
7
Participants
2
Subscribers
2
Votes
1
Views
393
Share
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
Not a bug, just a consequence of how floating point numbers work. Try in JavaScript:
Hi Michael,
1. Danke für die schnelle Antwort
2. Ich schätze Dich und GeoGebra wirklich sehr, aber ich merke, wie ich anfange mich aufzuregen.
Es kann doch nicht wirklich der Anspruch sein zu behaupten, dass GeoGebra bedauerlicherweise nicht in der Lage ist, die Differenz von zwei endlichen Dezimalzahlen korrekt auszurechnen und deshalb als "Lösung des Problems" auf JavaScript zu verweisen.
Das ist doch ... öhm ... hochnotpeinlich.
Immerhin berechnet ja GeoGebra doch noch korrekt:
Also ist es gewiss kein überbordener Anspruch zu erwarten, dass das Problem in irgendeiner Weise gefixt oder wenigstens etwas mehr als ein Schulterzucken gezeigt wird.
Zumal die Ursache irgendwo anders zu liegen scheint, denn wenn ich das erneut versuche, dann rechnet GeoGebra Gott sei Dank korrekt.
Wo liegt also das Problem bzw. der Fehler in der obigen Datei und wie lässt sich das beheben?
Gruß
mire2
JavaScript is just an example - you can try in Python, C++, Java etc
See here if you really want to understand: https://docs.oracle.com/cd/...
If you need an exact answer then you can use the CAS View of course.
https://xkcd.com/1425/
Funny, but the reality is: https://xkcd.com/386/ 😎
Everyone should count on that the solution of 12345.6789 - 12345 is correct calculated.
So please, investigate what's the difference between the first and the second posted file is and what caused that mistake in the first one! 🙏
I guess, that's a question to a developer.
Greetings
mire2
Sorry, I still don't see a problem. Please say
* what you typed
* what you got
* what you'd like
Comments have been locked on this page!