
--- SEC ---

	SEC (Simple Expression Calculator) is a simple calculator whose goal is to solve the given math
	expression with any desired level of precision.

	SEC is provided for free.
	Do not trust anyone who tries to sell SEC.
	See https://sundee.neocities.org/ for updates and other programs.

	This program is for Windows only. Tested on Windows 7 only.


--- Usage ---

	Type or (paste with [Ctrl]+[V]) your expression in the top input.
	
	Press [Tab] to switch between inputs.
	
	Switch to the middle input and use [Ctrl]+[C] to copy the result to clipboard.
	
	The bottom input allows you to change the desired decimal precision if you want to see more or
		less decimal digits.
	
	Supported operators:
		+ Addition
		- Subtraction
		* Multiplication
		/ Division
		% Modulo (division remainder)
		() Capture (the operators inside parentheses are solved first)
	
	Note: division by zero will result in 0.


--- Other notes/trivia ---

	A remember.state file will be created when you use SEC. It stores the window size, position,
	and the calculator precision, which will be loaded when you start SEC next time. If you don't
	want this file to be created, add the word "portable" into the .exe name, for example
	"SEC_portable.exe". The contents of the file are as follows:
		i32 state_file_version;
		i32 window_x;
		i32 window_y;
		i32 window_width;
		i32 window_height;
		i32 precision;
	
	This program was written in plain C with the following libraries:
	- Arbitrary Precision Calculator - this is what does most of the work by handling math
		operations with infinite precision.
		https://github.com/abhishekaudupa/arbitrary-precision-calculator
	- stb_truetype - Load and render fonts.
		https://github.com/nothings/stb


--- Future plans ---

	Wrap the text if it's too long to fit horizontally. I don't happen to have the code for a
	wrapping text editor at the moment.
	
	floor, ceil, round, abs
	
	Ability to use more advanced functions, like exponent, sin, cos, sqrt... I have no idea how to
	implement these myself and I'm not very motivated to learn how, but maybe I can find a better
	library or something. I do not consider this program done until I have at least exponent.
