AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCalc: Console Calculator [CMD]

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
BoBo
Guest





PostPosted: Wed Dec 22, 2004 4:44 pm    Post subject: CCalc: Console Calculator [CMD] Reply with quote

Quote:


Console Calculator is a fast and powerful command-line type calculator. This calculator remembers recent entries, allows creation of variables, and includes many advanced mathematical functions. This calculator is an especially handy tool for software developers.

Command-Line Interface
The calculator has some command-line options that may be useful for some people including blind students.

ccalc [inputfile] [-o outputfile]

inputfile: a script file which is run immediately when ccalc starts.
outputfile: the contents of the session are saved to this file once the CCalc window is closed
.

Key Features
Base conversion (binary, decimal, hexidecimal)
Bitwise operators
Spiffy customizable GUI
Run/Save scripts
Advanced math functions
Define and use custom variables
Easily recall previous entries
Valid Operators include:
+, -, /, *, ^(exponent), %(mod), !(factorial), <<, >> and more.
Math functions:
sqrt - square root
ln - natural log
log - log base 10
logxx - log base xx
exp - exponential, e^...
sin - sine
cos - cosine
tan - tangent
asin - arcsine
acos - arcosine
atan - arctangent
sinh - hyperbolic sine
cosh - hyperbolic cosine
tanh - hyperbolic tangent
abs - absolute value
ceil - ceiling function, rounds up to the nearest integer
floor - floor function, rounds down to the nearest integer
and more!

[Download] (60k)

for Windows 95/98/NT/2000/XP
- Transparency
- Stay-on-top option
- Window snap-to-edges


Cool
Back to top
savage



Joined: 02 Jul 2004
Posts: 206

PostPosted: Sat Dec 25, 2004 2:09 am    Post subject: Reply with quote

Neat, but there's always bc and dc. They do the same things and more (and RPN too!) and they work in regular consoles.
Back to top
View user's profile Send private message AIM Address
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Wed Jan 12, 2005 8:07 am    Post subject: Reply with quote

Gack! I was just lurking and noticed that savage forgot to link to a download site Shocked Anywho, here's a site for bc/dc (the command util, not the ac/dc tribute band), along with some other nifty *nix ports.

[link]
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Wed Jan 12, 2005 8:49 am    Post subject: Reply with quote

Hell. I had it in stock and havn't realized it Shocked

pclip is it! Very Happy Check this out:

Quote:
CLIPBOARD=Jonny's`ngalloping`nWhatNot`nrulez.`nPeriod.
Run, %COMSPEC% /K pclip, ,Max ; pclip.exe put the Windows clipboard text to stdout




Quote:
gclip.exe get the Windows clipboard text from stdin
Example: run the text from the clipboard through sed and put the result back
pclip | sed "s/string1/string2/g" | gclip


Thx, folks.
Back to top
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Wed Jan 12, 2005 4:03 pm    Post subject: Reply with quote

Ya, but it has one downside, that it messes with the clipboard. I'll ask for something in the WishList that will make the clipboard less painful to use for stuff like this.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group