DEG uses degrees: sin(30) = 0.5. RAD uses radians: sin(pi/6) ≈ 0.5. Explicit angle units override this choice.
Find a task
No matching tools. Try a different word.
Bisection · real numbers · 64 working digits. Tolerances: xAbs = xRel = fRel = 1e−12.
Syntax & example
Uses Calculator arithmetic, angle and word settings. Definitions stay in this page unless needed by saved history.
No definitions yet. Define rate = 0.21, then total(netAmount) = netAmount*(1+rate).
Names, dependencies & examples
Names are case-sensitive ASCII letters, then letters, digits or underscores; up to 32 characters. Built-in functions, units, constants, Ans and M are reserved. Define a name before referring to it. Cycles and recursion are refused; a rejected edit keeps the previous definition.
Variables: rate = .21. Functions: name total, parameter netAmount, formula netAmount*(1+rate). Calculate total(100) for 121. Functions have 1–8 unique parameters. Ans/M are not allowed in definition formulas: save an explicit named value instead.
Bit operations & word wrapping
Ordinary +, −, *, / and ^ are mathematical operations: 127+1 is 128. Use word(x) to wrap explicitly; wadd(a,b), wsub(a,b), wmul(a,b) wrap their arithmetic result to the chosen width. Signed words use two’s complement. Overflow and lost bits are reported.
Bit functions require exact integers in the selected range or explicitly constructed words. Shift counts must be integers from 0 to one less than the width. word(255,8,signed) is −1 with pattern 0xFF; lshr(-2,1) in 8 signed is 127, while ashr(-2,1) is −1. ^ remains power; % remains percentage.
Base syntax & examples
0b101.01 = 21/4, 0xA.F = 175/16. Repeating digits use parentheses: decimal 0.1 converts to 0b0.0(0011). The selected source base reads free digits such as FF; a prefix must agree with it. Copied output includes the prefix.
Convert result retains the evaluated value and its approximation status; it does not reinterpret display digits in From.
Saved inputs and variables
Result
Rounded display
Working digits
Up to 64 working digits; these are not guaranteed correct or exact.
Steps for your calculation
Last operations shown. Open Step details for every available step.
Step details
Powers & logsTrigonometryMore functions
History
Off by default. Up to 50 calculations, for 30 days each, within 1 MiB. Datasets, matrices, methods and only needed variables/settings are saved with each calculation. Older open versions need a reload before Clear can affect all history versions.
No calculations yet.
Choose the tip basis before splitting the total
Tax is subtotal × tax rate / 100. The tip uses either the subtotal or subtotal plus tax, according to your choice. Add subtotal, tax and tip, then split the rounded total equally using largest remainders.
Enter nonnegative exact amounts and rates, 1–50 people and a positive rounding step. Tied remainders are resolved in person order, so some shares can differ by one step.
Worked example: subtotal 100, no tax, 10% tip, three people
The tip on subtotal is 100×10/100=10, giving a total of 110. At a 0.01 step, the shares are 36.67, 36.67 and 36.66. They sum to 110.00; independently rounding every exact third to 36.67 would over-allocate 0.01.
Load example fills the form without calculating. Choose its primary action to work it out.
The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.