GithubHelp home page GithubHelp logo

calc's Introduction

Calculator for BeOS R4, R4.5, and R5.

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 please don't file lawsuits if your taxes don't come out just right!

How to install

Since you are reading this document, I'll assume you have already finished installing! The Calculator is a stand-alone application that can be launched and enjoyed right out of the box.

How to use:

I will assume you are already familiar with handheld calculators, so I'll omit with the really basic stuff. Just lanch the application and use it. However, here 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 each 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 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 is loaded with both text representation and a double-precision floating-point representation.

Source code

Source code is included in the ZIP file. You can use the makefile from the command line or use the ".proj" project with Metrowerks IDE. Since I don't currently have access to a PPC machine, only x86 project building is included. PPC users can probably use the makefile to build.


Brought to you by:

Peter Wagner [email protected]

calc's People

Contributors

ddacw avatar scottmc avatar waddlesplash avatar

Watchers

 avatar

Forkers

scottmc

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.