10/14/2024 4:58 PM | |
Joined: 6/20/2017 Last visit: 9/8/2025 Posts: 486 Rating:
|
Herr @0_Einstein praised and then aesthetically adapted in this recent thread the following code in SCL, but did not see that there is an error. The error is easy to be found even without running the function. Besides the pleasure of participation, the prize for those who find it will certainly be my vote.
|
Last edited by: Gustavo Antonio Banchetti Brucatori at: 10/14/2024 17:53:17Gustavo Antonio Banchetti Brucatori. |
|
10/18/2024 5:30 PM | |
Joined: 6/20/2017 Last visit: 9/8/2025 Posts: 486 Rating:
|
Here I am forced to answer myself, and, bear with me, since I do not have decent language skills in the current common idiom, you will also excuse me if I use an automatic translator. In writing the source code posted in the epigraph, (first post of this thread), I had been inspired by a converter found on the net where it allowed me to test the code I had written.GeoGebra's converter (Note here that negative decimal angle values are converted with positive and complementary minutes and seconds, with the degree subtracted by one unit.) After posting the code in the thread of first interest, I sent it to a coworker of mine with whom we share a common library, with just half a line of explanation. The colleague perhaps because he was aero-enthusiastic pointed out to me that the angle conversion was wrong. In the sense that in DMS even minutes and seconds should have been negative. So I also did some more research and actually found that many other sites reported a conversion done differently: angle, minutes and seconds expressed negatively, without complements. Only two converters found on the web gave the result of the previous one already mentioned by GeoGebra. This new discovery then led me to check why these two different forms of results, and the conclusion (to be brief), was that the two formulas are indeed mathematically equivalent, although one of the two is more complex to read and less intuitive. Now, here I have responded and unraveled at least what had been my provocation with this thread, however, I cannot refrain from seasoning the post with a little bit of sourness. In fact I notice from practically my very first post created in this forum, that by most it is not experienced precisely as a forum, but rather as if it were a help desk. A forum would be a few more things, much more, but it is not experienced at all. (But at the end of the day it is the same feedback I get from the business world as well). |
Gustavo Antonio Banchetti Brucatori. |
|
Follow us on