sparkecho / calculator Goto Github PK
View Code? Open in Web Editor NEWA simple calculator that supports several binary operators and parentheses.
A simple calculator that supports several binary operators and parentheses.
Calculator This project is writen just for practise. It's a simple calculator application. This calculator implemented functions below: + 加法 - 减法 * 乘法 / 除法 ^ 乘方 % 取模运算 ! 阶乘 = 判等 & 按位与运算 | 按位或运算 ~ 按位取反 && 逻辑与运算 || 逻辑或运算 ! 逻辑非运算 () 括号 fib(n) 计算第 n 个斐波那契数 sqrt(n) 计算 n 的平方根 cbrt(n) 计算 n 的立方根 + Addition - Subtraction * Multiplication / Division ^ Exp % Mod ! Factorial = Judge if equal & 按位与运算 | 按位或运算 ~ 按位取反 && 逻辑与运算 || 逻辑或运算 ! 逻辑非运算 () 括号 fib(n) Calculate the nth fibonacci number sqrt(n) Calculate the square root of n cbrt(n) Calculate the cube root of n 运行方式: 方法一: 使用 quicklisp 加载 1. 将源代码文件置于 ~/quicklisp/local-project/ 目录下 2. 在 Common Lisp 的 REPL 中执行 (quickload :calculator) 3. 执行函数 (calculator:menu) 即可运行该计算器的 repl 4. 每个表达式以分号 ; 结尾, 如果要退出, 输入 exit; 然后回车 方法二: 使用 asdf 加载 1. 在 Common Lisp 的 REPL 中执行 (load "path/of/calculator.asd") 2. 然后执行 (asdf:load-system :calculator) 3. 同方法一 4. 同方法一
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.