Skip to content
SAMATICA
In this chapter: Numbers, arithmetic and complex numbers
  1. Fractions, mixed numbers and recurring decimals
  2. Percentages
  3. Remainders, mod, floor, ceiling and absolute value
  4. Prime factorisation, GCD and LCM
  5. Factorials, combinations (nCr), permutations (nPr) and random numbers
  6. Powers, roots and logarithms
  7. Angle units and trigonometry
  8. Rectangular and polar coordinates
  9. Complex numbers
  10. Binary, octal, decimal and hexadecimal
  11. Logic operations

Numbers, arithmetic and complex numbers in Scientific calculator plus 991 for Android

Fractions, percentages, remainders, prime factors, nCr and nPr, powers, roots, logarithms and trigonometry all work in MATH, the mode for general calculations, with the keys or with the functions printed above them for SHIFT and ALPHA. Two jobs need a mode of their own, chosen under MODE: complex numbers need CMPLX, and binary, octal and hexadecimal need BASE-N, which also holds the bitwise operations AND, OR, XOR and NOT. Whole numbers are kept exactly, up to roughly 98,600 digits.

Modes
MATH, CMPLX and BASE-N, under MODE
Whole numbers
exact, up to roughly 98,600 digits
Decimals
worked to up to 512 significant digits
Answers
exact (FRAC) at first; S⇌D for decimals

Most of this chapter is a single key press away: a key, or the SHIFT or ALPHA function printed above one, in the mode for general calculations. This page says which mode and which page each job needs, where the keys are, and how the calculator holds numbers and shows its answers.

The MODE dialog, Calculation mode: MATH first, then CMPLX, STAT/DISTR and BASE-N, above TABLE, MATRIX, VECTOR and the solvers.
The MODE dialog, Calculation mode: MATH first, then CMPLX, STAT/DISTR and BASE-N, above TABLE, MATRIX, VECTOR and the solvers.

Which page for which job

The jobThe page
Type a fraction or a mixed number; add and subtract them; recurring decimalsFractions and recurring decimals
A percent of a number, what percent one is of another, an increase or a discountPercentages
A remainder (mod), quotient and remainder together (÷R), rounding down or up, the absolute valueRemainders, floor and ceiling
Prime factors, the greatest common divisor, the least common multiplePrime factorisation, GCD and LCM
n!, nCr, nPr and random numbersFactorials, nCr and nPr
Powers; square, cube and nth roots; eˣ and 10ˣ; ln, log and logₓy for any basePowers, roots and logarithms
The angle unit, degrees, minutes and seconds, the six trigonometric functions and the hyperbolic onesAngle units and trigonometry
Rectangular to polar coordinates and backPol and Rec
a + bi, the polar form, the modulus, the argument, the conjugateComplex numbers
Binary, octal, decimal and hexadecimal, and converting between themBinary, hex and octal
AND, OR, XOR, NOT, bit shifts, and True or False comparisonsLogic operations

The three modes this chapter uses

Press MODE and choose one from the Calculation mode dialog.

  • MATH, general calculations, is where nearly all of this chapter works: fractions, percentages, factorials, powers, logarithms, trigonometry, prime factors.
  • CMPLX is for complex numbers: the complex menu is on SHIFT 2 CMPLX, and an odd root of a negative number gives the principal complex value rather than the real one (roots of negative numbers).
  • BASE-N turns the calculator into a programmer's calculator: DEC, HEX, BIN and OCT keys, the digits A to F, a choice of 8, 16, 32 or 64 bits, and the bitwise AND, OR, XOR and NOT.

The logic comparisons that answer True or False are not a mode at all: they are on the 2nd keyboard, which the 2nd key opens, and they work in MATH.

The functions above the keys

Most functions in this chapter are printed above a key: yellow for SHIFT, violet for ALPHA. Press SHIFT or ALPHA, then the key.

KeysFunctionPage
SHIFT x/y, ALPHA x²A mixed number, a recurring decimalFractions
SHIFT ( %PercentPercentages
ALPHA √x modRemainder of a divisionRemainders
ALPHA x/y ÷RQuotient and remainder togetherRemainders
ALPHA - Floor, ALPHA + CeilRound down, round upRemainders
SHIFT hyp |x|Absolute value, AbsRemainders
SHIFT °'" FACTPrime factorsPrime factorisation
ALPHA × GCD, ALPHA ÷ LCMGreatest common divisor, least common multiplePrime factorisation
SHIFT x⁻¹ x!FactorialFactorials
SHIFT ÷ nCr, SHIFT × nPrCombinations, permutationsFactorials
SHIFT . Ran#, ALPHA . RanIntA random number, a random whole numberFactorials
SHIFT x² x³CubePowers
SHIFT √x ³√x, SHIFT xʸ ˣ√yCube root, nth rootPowers
SHIFT ln eˣ, SHIFT log 10ˣe and 10 to a powerPowers
SHIFT Sin Sin⁻¹, and the same on Cos and TanThe inverse functionsTrigonometry
ALPHA ENG Cot, ALPHA ( Cot⁻¹Cotangent and its inverseTrigonometry
SHIFT + Pol, SHIFT - RecRectangular to polar, polar to rectangularPol and Rec
SHIFT ENG i, SHIFT (-) ∠The imaginary unit, the angle signComplex numbers

Arithmetic and the order of operations

Type a calculation the way it is written and press =.

23 − 7, typed as written

in 23 - 7

out 16

When an expression mixes operators, the calculator applies operator precedence: in 2 + 7 ÷ 3 the division comes first. Brackets change the order, and an expression may hold as many as you need.

Brackets first

in (2 + 7) ÷ 3

out 3

A bracket left open is closed for you when you press =:

The missing bracket is added

in 5 × (2 + 3

out 25

Two or more calculations can share one line, separated by semicolons: press ALPHA ∫dx for each. Each press of = then works out the next calculation, left to right; here the first press gives 6, and the second 9.

Two calculations on one line: the first = gives 6

in 3 + 3; 3 × 3

out 6

Only = saves a calculation to the history. The answer that appears as you type, when Automatically calculate is on in Settings, is only a preview: it is saved when you press =.

How large a number can be

Two limits apply, because whole numbers and decimals are held in different ways.

  • Whole numbers are kept exactly, every digit and nothing rounded off the end, up to roughly 98,600 digits. That is why 100! comes back with all 158 of its digits, and 2¹⁰⁰⁰ with all 302.
  • Decimals are worked to up to 512 significant digits, and a number that would need more is rounded to fit. The answer line shows fewer: 5/6 as a decimal reads 0.83333333333.

Both sit far beyond ordinary work: writing out the number of atoms in the observable universe takes only about 80 digits.

Exact answers and decimals

The calculator starts in symbolic calculation, FRAC on the status line, so answers stay exact: 5/6 stays a fraction. S⇌D switches to numeric calculation, DECI, where answers come as decimals, and back again; the choice holds for the calculations that follow.

Touch an answer to open the Result format dialog, which shows it in every form that fits: a decimal, a repeating decimal, a fraction, a mixed number, degrees, minutes and seconds, or, for a complex answer, polar form.

At a glance

KeysWhat they do
MODEChooses MATH, CMPLX, BASE-N and the other modes
=Works out the calculation; closes any bracket left open
ALPHA ∫dx ;Separates two calculations on one line
S⇌DSwitches between symbolic (exact) and numeric (decimal) calculation
2ndThe 2nd keyboard, with the True/False comparisons

Questions

Does the calculator follow the order of operations?

Yes. When an expression mixes operators, the calculator applies operator precedence, and brackets change the order: (2 + 7) ÷ 3 is 3. An expression can hold as many brackets as you need, and = closes any still open, so 5 × (2 + 3, typed without its last bracket, still gives 25.

How many digits can a result have?

Whole numbers keep every digit up to roughly 98,600 of them, so 100! comes back with all 158 of its digits and 2¹⁰⁰⁰ with all 302. Decimals are worked to up to 512 significant digits and rounded beyond that; the answer line shows fewer, so 5/6 as a decimal reads 0.83333333333.

Which mode do I need for complex numbers or binary?

CMPLX for complex numbers, and BASE-N for binary, octal and hexadecimal and the bitwise operations AND, OR, XOR and NOT; both are under MODE. Everything else in this chapter, fractions, percentages, powers, logarithms and trigonometry included, works in MATH, the mode for general calculations.

Can I put two calculations on one line?

Yes. Put a semicolon (ALPHA ∫dx) between them, and each press of = works out the next one, left to right: 3 + 3 ; 3 × 3 gives 6 at the first press of =, and 9 at the second.

Related pages

Written from the calculator's own manual and from the app itself, version 7.6.0; every figure is one the manual shows or a capture of the app proves. Last revised on 29 September 2026.

Bug reports and feature requests go to kimcuc@samatica.com — a person reads it.