Giter VIP home page Giter VIP logo

calculator's Introduction

简易的计算器

在线使用

简易的计算器

介绍

一个建议的计算器。

特点

  1. 实现基本的加减乘除、取余功能。
  2. 内置部分数学函数,如sin(),cos(),tan(),abs(),pow(),ln()等
  3. 内置部分常量,如pi、e等
  4. 能够处理圆括号运算,如:“(1+2+3-1)”。
  5. 能够处理重复加减符号,如:“-1++++2”。
  6. 在表达式出错时,能够大致指出错误位置!

待改进

  1. 实现添加常量和函数功能(如何添加函数,而避免执行危险代码!)
  2. 参照网页计算器,设计界面功能!
  3. 架构图和流程图?

calculator's People

Contributors

xiaer93 avatar

Watchers

James Cloos avatar  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.