Help

This document is a work in progress!

Welcome to the Help section. You can choose topics or just start at the top and work your way to the bottom. You can also open up MathPad and click on (?) Help → Examples. The old help file can be found here.

Intro

Here is a quick look at some of the features.

Basic features

Some random features.

Random features

Variables

Reserved Variables

MathPad stores the value of previous lines in different ways. Keep in mind that any line that uses 'total' or 'sum' is defined as a 'total line' or 'sum line'. So a line that just says "total" or a line that says "total + 500" are both considered to be a "total line".

	ans, answer, prev        Answer of previous line.
	total, vtotal            Sum of all previous lines that don't have reserved variables (except 'ans').
	subtotal, vsubtotal      Same as total, but resets at lines with 'total' or 'subtotal'.
	count, vcount            Counts all lines that don't have reserved variables (except for 'ans').
	subcount, vsubcount      Same as count, but resets at lines with 'count' or 'subcount'.
	average, averageall      Total / Count.

There are 6 reserved variables (not including the alt names). There are rules governing how they interact with each other. Answer is different from the rest of them, in that the rules that they follow say nothing about ans/answer/prev.

Constants

Constants are not case-sensitive by default (some are made to be case-sensitive though). All available constants are accessible through the Constants Menu as well. However, many constants have alternative names, these can be found in the Data Menu.

User-defined Functions

...

Number Syntax

There are many ways to type numbers in. All of these examples are the exact same number.

	25800000
	25,800,000
	25 800 000
	25,800k
	25.8kk
	25.8 × 10^6
	25.8E6
	25.8e6
	25.8e+6
	25.8e-6
	25.8 million
	
	0b110 // binary
	0o70  // octal
	0xff  // hexadecimal
	

Vectors

...

Booleans

...

Units

You can multiply and divide units.

Currency Units

Most unit values are constants. Currency unit values however, can change over time. This requires unit values to be updated regularly. MathPad downloads new foreign exchange rates (FOREX) whenever the current rates are more than a day old. You can also force an update in the Data Menu.

MathPad uses MyCurrency and Cryptonator to download exchange rates. continue

Number Bases

...

Built-in Functions

Functions are NOT case-sensitive. So you may capitalize as you wish to help readability, such as some of the bitwise operators: bitor (BitOr), bitxor (BitXor), shiftleft (ShiftLeft), shiftright (ShiftRight), etc..

Some operator symbols have more than one meaning, such as "-" and "!". MathPad figures out the correct meaning based on the context it's used in.

For a list of all functions, click here.

Logic Functions

...

Bitwise Functions

...

Summations

...

Order of Operations

The order of operations is typically represented by PEMDAS.

	(P)arenthesis
	(E)xponents
	(M)ultiplication and (D)ivision.
	(A)ddition and (S)ubtraction.
	

But PEMDAS leaves out quite a bit. So I have outlined the precedence of how everything is evaluated in MathPad.

  1. (P)arenthesis
  2. Functions (in function notation)
  3. Unary Right: Factorial '!'
  4. (E)xponentation & Root '√'
  5. Unary Left: Negation, Not, Logical Not, Bitwise Not/Complement (note: also right associativity)
  6. Implicit Multiplication (note: only has higher precedence if enabled in the settings)
  7. (M)utliplication, (D)ivision, Modulo, Of
  8. (A)ddition, (S)ubtraction, On, Off
  9. Bitwise Shift ('<<' and '>>') and Rotate
  10. Relational ('>', '<', '<=', and '>=')
  11. Equality ('==' and '!=')
  12. And, Nand
  13. Xor
  14. Or, Nor

You can find more information here.

Window

...

Setting

...

Keyboard Shortcuts

	Ctrl+D    (D)elete/clear current page.
	Ctrl+F    (F)ile open.
	Ctrl+H    (H)elp [Online Documentation]
	Ctrl+I    D(i)ctionary Manager.
	Ctrl+K    (K)eyboard Shortcuts.
	Ctrl+M	  (M)ain Menu visibility toggle.
	Ctrl+O    (O)ptions/Settings.
	Ctrl+R    (R)andomize window color
	Ctrl+S    (S)ave page to file
	Ctrl+T	  (T)ab Menu visibility toggle
	Ctrl+W    (W)indow spawn.
	
	Cntrl + Mouse Wheel for zooming (font size).
	

Sales

...

Tips

...

alpha.bitcake@gmail.com