Is it calculator application available on Haiku with following features:
- Supports binary and hex numbers and able to convert between it.
- Can copy and paste output.
- Supports history.
Is it calculator application available on Haiku with following features:
i use the python interpreter for that
edit:
bin(9)
outputs â0b1001â
hex(99)
outputs â0x63â
you can reuse last result using the _
variable
copy,paste and history using the terminal features
you can write hex number with 0x
prefix and binaries with 0b
finally you have access to the math library
I havenât tried wcalc
myself, but it comes up in HaikuDepot when searching for âcalc hex historyâ.
It is CUI utility, I want GUI application. Well python is fine for now.
Iâve been meaning to write a clone of the Windows 7 âCalculatorâ software, itâs the best desktop calculator software I have seen. But I never did get around to itâŚ
Well the windows calculator is open source⌠I wonder if you could just take the calculator guts from it and put a BeAPI face on it. I think it is a somewhat deceptively complex application also.
And yes I do know that the version on Github is the UWP version but apparently it was forked from the old one, and does use the same math internally⌠and is MIT licensed!
copyrighted all the way back in 1989 O.o in the current versionâŚ
SpeedCrunch works well but there is no recipe in the ports repository so youâll need to build it yourself. Itâs pretty easy to build as it has some basic support for Haiku already(screenshot).
Tried to build from source, but getting tons of error due to Qt?
Some one can do this with yab. Could be an interesting project for new developers.
What? Nothing can beat the PowerToy calculator!
I donât understand why people designing calculator insist on an on-screen keyboard. Does anyone actually use that? Donât all computers come with a keyboard already?
The Windows 7 one has many problems such as resetting completely when you switch between the different modes (which is annoying, what if I want to compute an angle and then convert it to hex?), not warning you that âprogrammer modeâ is integer only and silently rounding your calculations there, having only one memory slot (why canât I assign values to a few single letter variables, at least?)
It can be useful on tablet PC.
Wouldnât you already have an appropriate soft-keyboard in that case? In any case, yes, it can be useful, but it shouldnât be the default (and I think impossible to disable in Windows calculator case) behavior for desktop/laptop systems.
It also help to know what functions are available in calculator.
Generic screen keyboard takes more space than domain-specific calculator keyboard.
There are a bunch of warnings about deprecated functions that can be ignored. The one problem that I forgot about is some odd behavior with the different C++ specifications(C++11, C++17, etcâŚ). The quick solution to the undefined reference that prevents building is to put it in release mode.
cmake -DCMAKE_BUILD_TYPE=Release
The first time I used in on MacOS 9.1 I was blown awayâŚ
That did the trick, now I could work on a recipe for it
Speaking of calculator stuff, I found out about RPN a while back, and really want to give it a modern spin. Will be a while before I do that though.
SpeedCrunch now available for Haiku
Thanks for the pointer @Lrrr
Does it support programmer stuff (bin and hex numbers, bit shifting etc.)?
Only one way to find out I guess