GithubHelp home page GithubHelp logo

calc's Introduction

Calculator

This is a very simple scientific calculator meant as an experiment and learning experience in writing for BeOS. Please send me bugs/questions/gripes, but don't file lawsuits if your taxes do not come out just right!

How to install

Simply run make.

How to use

I assume that you are already familiar with handheld calculators, so I'll omit the really basic stuff. Just launch the application and use it. However, there are a few subtle points:

  • The inv button is a modifier that gives the inverse trig functions. Click the inv button followed by one of the three trig buttons (sin cos tan). The inverse feature resets itself after every single use.

  • The deg button is a toggle that behaves in the classic unintuitive way: when the button says deg the trig functions operate in degrees; clicking the button changes its label to rad and makes trig functions operate in radians.

  • The C button clears the current input. Clicking C a second time in a row resets the calculator's stack and input.

Keyboard shortcuts:

  • The obvious 0 ... 9 , = , / , + , C , . , etc.
  • e puts you in exponent mode (i.e. type 16.7e6).
  • p gives PI.
  • ~ (tilde) is the "-/+" key used for negating a number.
  • Enter , Return both activate the "=" key.

You may paste text into the calculator (command+V). This is currently fine for simple expressions, but it doesn't allow you to enter stuff that doesn't have a keyboard shortcut (see above). Sorry.

You may copy from the calculator (command+C). The clipboard will be loaded with both the text representation and the double-precision floating-point representation.


Brought to you by:

Peter Wagner [email protected]

calc's People

Contributors

ddacw avatar ocerman avatar waddlesplash avatar scottmc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.