📜 ⬆️ ⬇️

Standard Win Calculator

Did you know that you can insert arithmetic expressions from the clipboard into the standard Windows calculator and the program will calculate the result?
eg:


But the use of incorrect from the arithmetic point of view of expressions, for example 10art leads to the fact that some number is displayed. I have 0.0017453310241888003447792279227637 . Bug

UPD: as noted by khim
He just kind of drives it all up with the keyboard. 10 => 10, “a” => beep, “r” => 1 / x (result 0.1), “t” => tan (0.1), that is, 0.0017453310241888003447792279227637

Everything is correct ... Note that the result will differ in different modes (a simple calculator does not have priorities, a “scientific” one has).


')

Source: https://habr.com/ru/post/37663/


All Articles