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.
Divide by the factor that produced the final value
Calculate original = final / (1 + percentage change / 100). Use a negative rate for a decrease. A −100% change has a zero factor and cannot be reversed to identify one original value.
Worked example: 120 after a 20% increase
The applied factor is 1+20/100=1.2. Dividing the final value by that factor gives 120/1.2=100. Subtracting 20% of 120 would use the wrong base.
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.