Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: DSL Calc, A better smaller calculator< Next Oldest | Next Newest >
_pathos Offline





Group: Members
Posts: 91
Joined: Aug. 2005
Posted: Jan. 02 2006,23:36 QUOTE

xcalc is useless. I was thinking of building a terminal based calculator for dsl that would process C style equations on a line by line basis and have support for user variables. Does something like this already exist?

not sure whether to do it in C (fun) or C++ (easy).
Back to top
Profile PM 
crusadingknight Offline





Group: Members
Posts: 65
Joined: Nov. 2005
Posted: Jan. 03 2006,00:10 QUOTE

http://www.gnu.org/software/bc/bc.html

--------------
System:
eTower 566.12, 32MB RAM, 7GB HD, 200MB swap, 1x USB v.1, Intel 810GFX, Intel 810 Audio.
Recompiled so far: Pretty much everything. I think I'll have to do a remaster to cut the growing bloat off my system.
Back to top
Profile PM WEB MSN 
_pathos Offline





Group: Members
Posts: 91
Joined: Aug. 2005
Posted: Jan. 03 2006,01:41 QUOTE

hmmm, yeah I knew some one somewhere would have done it already :)

cheers

EDIT: meh no binary or hex support....I'll make my one
Back to top
Profile PM 
John Offline





Group: Super Administrators
Posts: 696
Joined: Sep. 2003
Posted: Jan. 04 2006,00:04 QUOTE

_pathos, I'd like to see what you come up with.
Back to top
Profile PM 
_pathos Offline





Group: Members
Posts: 91
Joined: Aug. 2005
Posted: Jan. 16 2006,07:37 QUOTE

http://www.kyz.uklinux.net/evaluate/

I found a mind reader...

I'll build a front end and add binary/octal support. Maybe even arbitary length numbers with GMP Bignum.

I had been hoping to use a hack I had worked out using a separater operator stack for precedence...it would work but the code would have been just too cryptic and wouldn't handle syntax errors well. meh
Back to top
Profile PM 
5 replies since Jan. 02 2006,23:36 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: DSL Calc

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code