Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Related Tutorials


 
 

Share on Google+Share on Google+

ECalc

Advertisement
ECalc is a calculator plug-in for Eclipse that provides the ability to evaluate mathematical expressions. Note the low version number. At this stage the software should be considered a prototype, although it does work pretty well.

ECalc

     

ECalc is a calculator plug-in for Eclipse that provides the ability to evaluate mathematical expressions. Note the low version number. At this stage the software should be considered a prototype, although it does work pretty well.

To install, just put the jar from the zip-files in your plugin-directory and restart eclipse. To uninstall, remove the jar-file and the directory .metadata/.plugin/se.fnord.ecalc from your workspace directory/directories.

Features

  1. Command-history.
  2. Functions (sin, cos, tan, asin, acos, atan, min, max, hypot, sqrt, random, round, ceil, floor).
  3. Ability to switch between radians and degrees.
  4. The basic operators (+, -, *, /, % (modulus), ^ (power)).
  5. Bitwise operators (>>, <<, &, |).
  6. Input and output in binary, octal, decimal or hexadecimal.
  7. The constants pi and e.
  8. Variables.
  9. User-defineable functions (eg. 'def f(x) { x*2 }', 'def g(x,y) { x*sin(y) }').
  10. Probably some things that I forgot.

Todo

  1. Package ECalc as a feature.
  2. More built-in functions.
  3. Fix annoying parser-bug.
  4. Refactor code in general and clean the parser code in particular.
  5. Ability to list/manage variables and functions.
  6. Some kind of context-menu.
  7. Fix the TODOs in the source.
  8. Make this page interesting.
  9. Fix the bugs you tell me about. :)
  10. What else? Let me know!

Click on this link to get more detail: http://ecalc.fnord.se/

     

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 8, 2010

Related Tutorials

Discuss: ECalc  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com