➗ 分数与算式化简计算器Simplify Calculator (fractions & arithmetic)
用精确分数(BigInt 有理数)计算并化简算式:12/18 → 2/3,(1/3 + 1/6) × 4 → 2,同时给出带分数和小数(含循环节)。支持 + − × ÷、^ 或 ** 整数次幂、括号、abs/min/max/floor/ceil;表达式由安全解析器计算,不执行代码。本地处理。Evaluate and simplify arithmetic exactly with fractions (BigInt rationals): 12/18 → 2/3, (1/3 + 1/6) × 4 → 2, with the mixed number and decimal (including repeating digits). Supports + − × ÷, integer powers with ^ or **, brackets and abs/min/max/floor/ceil; a safe parser evaluates it, never running it as code. Processed locally.
使用说明与常见问题How-to & FAQ
「分数与算式化简计算器」是什么?What is the Simplify Calculator (fractions & arithmetic) tool?
用精确分数(BigInt 有理数)计算并化简算式:12/18 → 2/3,(1/3 + 1/6) × 4 → 2,同时给出带分数和小数(含循环节)。支持 + − × ÷、^ 或 ** 整数次幂、括号、abs/min/max/floor/ceil;表达式由安全解析器计算,不执行代码。本地处理。Evaluate and simplify arithmetic exactly with fractions (BigInt rationals): 12/18 → 2/3, (1/3 + 1/6) × 4 → 2, with the mixed number and decimal (including repeating digits). Supports + − × ÷, integer powers with ^ or **, brackets and abs/min/max/floor/ceil; a safe parser evaluates it, never running it as code. Processed locally.
如何使用「算式化简(示意)」?How do I use the Simplify Calculator (fractions & arithmetic) tool?
在「算式」中输入简单的四则运算表达式,点「化简」即可得到计算或化简后的结果(不是完整的符号代数系统)。Type a simple arithmetic expression under Expression and click Simplify to get the evaluated or simplified result (this is not a full computer algebra system).
能化简哪些算式?What can it simplify?
数字之间的 + − × ÷、整数次幂(^ 或 **,二者相同)、括号和 abs、min、max、floor、ceil、round。所有运算都用精确分数完成,所以 0.1 + 0.2 = 3/10,结果总是最简分数。不支持 x 等变量、π、e 和 sqrt 等会产生无理数的运算。+ − × ÷ between numbers, whole-number powers (^ or **, which mean the same), brackets, and abs, min, max, floor, ceil and round. Everything is done with exact fractions, so 0.1 + 0.2 = 3/10 and the answer is always in lowest terms. Variables such as x, π, e and operations like sqrt that give irrational numbers are not supported.
运算顺序是怎样的?What order of operations is used?
先括号,再乘方(从右往左:2^3^2 = 2^9),再乘除,最后加减;负号优先级低于乘方,所以 -2^2 = -4,(-2)^2 = 4;--5 = 5。Brackets first, then powers (right to left: 2^3^2 = 2^9), then × and ÷, then + and −. A leading minus binds less tightly than a power, so -2^2 = -4 while (-2)^2 = 4; --5 = 5.
小数里的括号是什么意思?What do the brackets in the decimal mean?
括号里的数字无限循环,例如 1/3 = 0.(3) 表示 0.333…,1/7 = 0.(142857)。The digits in brackets repeat forever: 1/3 = 0.(3) means 0.333…, and 1/7 = 0.(142857).
计算精度如何?How precise are the results?
完全精确:所有数字都转成 BigInt 分子 / 分母的有理数运算,没有浮点舍入误差,例如 0.1 + 0.2 = 3/10,999999999999999999999 × 999999999999999999999 也能得到精确结果。只有小数展开在不循环时最多显示前 200 位。Exact: every number becomes a BigInt numerator / denominator and the arithmetic is done on exact fractions with no floating-point rounding, so 0.1 + 0.2 = 3/10 and 999999999999999999999 × 999999999999999999999 is exact. Only a non-repeating decimal expansion is cut to its first 200 digits.
除以零会怎样?What happens if I divide by zero?
会提示“除数为 0”,不会输出 Infinity 或 NaN;0 的负数次幂同样视为除以零。You get a "Division by zero" message instead of Infinity or NaN; 0 to a negative power is treated the same way.
有哪些选项可以调整?What options can I adjust?
「分数与算式化简计算器」的设置:「算式」默认 12/18 + 1/4。每次生成结果都按当前设置处理。Settings in the Simplify Calculator (fractions & arithmetic) — "Expression" default 12/18 + 1/4. The result always uses the current settings.
「分数与算式化简计算器」免费吗?需要注册吗?Is the Simplify Calculator (fractions & arithmetic) free? Do I need an account?
「分数与算式化简计算器」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Simplify Calculator (fractions & arithmetic) is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.