C# - Hesapmakinesi - Uygulama
-
Arkadaslar
Daha oncede boyle ufak ugulama paylasmistim. Ufak bir hesap makinesi uygulamasi yaptim girhubtada mevcut. Incelemk isteyen arkadaslar bakabilirler
https://github.com/dhmm/HesapMakinesiUygulamasi
Int ve Double tiplerini istege gore kullanioyr. Factory Pattern ve MVP patter kullandim. Lakin yorumlara vaktim olmadi attim githuba
-
Bi up yapiyim
Belki incelemek isteyen nolur
-
Aklıma şu geldi, geçenlerde gördüm Microsoft Windows Hesap Makinesi uygulamasındaki karekök alma bug'ını, karekök alma algoritmasını değiştirerek sonuda Windows 10 Redstone 5 ile çözmüş :D
http://news.softpedia.com/news/microsoft-fixes-decade-old-windows-calculator-square-root-bug-520559.shtml*
Başka bi kaynakta daha düzgün açıklama var:
Windows Calculator ImprovementsIn this release, Microsoft fixed the Windows Calculator so it properly calculates the square root for perfect squares. Before I butcher the match, I will let Microsoft explain what was resolved.
Previously, when you would calculate the square root of 4, the result would be 1.99999999999999999989317180305609 which would be rounded to 2 when displayed, because we calculated enough digits to do the rounding correctly. However, as soon as you subtract 2, you would see the remaining digits.
After this update, the square root calculation now recognizes perfect squares and correctly returns exactly 2 for the square root of 4.
-
:) Benimki basit bisey hocam oylesine iste...
-
Güzel olmuş. Sade ve kullanışlı.
-
emrah20 bunu yazdıGüzel olmuş. Sade ve kullanışlı.
Sagol hocam. Tesekkur ederim.