<commit_before>/*
	Calc2.exe [/R <Radix>] [/E <Effect>] /EM <Number>

	Calc2.exe [/R <Radix>] [/S] [/E <Effect>] [/-R] /P <Number> <UInt32>

	Calc2.exe [/R <Radix>] [/S] [/E <Effect>] [/-R] /R <Number> <UInt32>

	Calc2.exe [/R <Radix>] [/B <Basement>] [/-R] <Number.1> <Operator> <Number.2> <Effect>

	Calc2.exe [/R <Radix>] [/B <Basement>] [/S] [/E <Effect>] [/-R] <Number.1> <Operator> <Number.2>

	Calc2.exe [/R <Radix>] [/-R] <Number> <Effect>

	Calc2.exe [/R <Radix>] [/S] [/E <Effect>] [/-R] <Number>

		Radix    ...     2 `   36
		Basement ... -IMAX ` IMAX
		Effect   ...     0 ` IMAX

		Number ...  | ̎w\L

		Operator ... + - * /

	----
	

	Calc2 /S 123.456   ==>   1.23456E+02

	Calc2 /E 10 /EM 123.456   ==>   123.4560000
*/

#include "C:\Factory\Common\all.h"
#include "C:\Factory\Common\Options\Calc2.h"

int main(int argc, char **argv)
{
readArgs:
	if(argIs("/X"))
	{
		calcRadix = toValue(nextArg()); // 2 ` 36, ͈͊O -> calc()error();
		goto readArgs;
	}
	if(argIs("/B"))
	{
		calcBasement = atoi(nextArg()); // -IMAX ` IMAX, ͈͊O -> calc()error();
		goto readArgs;
	}
	if(argIs("/S"))
	{
		calcScient = 1;
		goto readArgs;
	}
	if(argIs("/E"))
	{
		calcEffect = toValue(nextArg()); // 0 == , 1 ` IMAX, ͈͊O -> calc()error();
		goto readArgs;<commit_msg>Custard<commit_after>/*
	Calc2.exe [/R <Radix>] [/E <Effect>] /EM <Number>

	Calc2.exe [/R <Radix>] [/S] [/E <Effect>] [/-R] /P <Number> <Exponent>

	Calc2.exe [/R <Radix>] [/B <Basement>] [/S] [/E <Effect>] [/-R] /R <Number> <Exponent>

	Calc2.exe [/R <Radix>] [/B <Basement>] [/-R] <Number> <Operator> <Number> <Effect>

	Calc2.exe [/R <Radix>] [/B <Basement>] [/S] [/E <Effect>] [/-R] <Number> <Operator> <Number>

	Calc2.exe [/R <Radix>] [/-R] <Number> <Effect>

	Calc2.exe [/R <Radix>] [/S] [/E <Effect>] [/-R] <Number>

		Radix    ...     2 ` 36
		Basement ... -IMAX ` IMAX
		Effect   ...     0 ` IMAX
		Exponent ...     0 ` 4294967295

		Number ...  | ̎w\L

			傫Ȏww肷邱Ƃɂăs⏈ɎԂ|󋵂N邱ƂɒӁI

		Operator ... + - * /

	----
	

	Calc2 /S 123.456   ==>   1.23456E+02

	Calc2 /E 10 /EM 123.456   ==>   123.4560000

	- - -

	Calc2 /B 20 2 / 3 21   ==>   6.66666666666666666660E-01

	Calc2 /B 20 2 / 3 20   ==>   6.6666666666666666666E-01

	Calc2 /B 20 2 / 3 19   ==>   6.666666666666666667E-01

	- - -

	Calc2 /B 19 2 / 3 20   ==>   6.6666666666666666660E-01

	Calc2 /B 20 2 / 3 20   ==>   6.6666666666666666666E-01

	Calc2 /B 21 2 / 3 20   ==>   6.6666666666666666667E-01
*/

#include "C:\Factory\Common\all.h"
#include "C:\Factory\Common\Options\Calc2.h"

int main(int argc, char **argv)
{
readArgs:
	if(argIs("/X"))
	{
		calcRadix = toValue(nextArg()); // 2 ` 36, ͈͊O -> calc()error();
		goto readArgs;
	}
	if(argIs("/B"))
	{
		calcBasement = atoi(nextArg()); // -IMAX ` IMAX, ͈͊O -> calc()error();
		goto readArgs;
	}
	if(argIs("/S"))
	{
		calcScient = 1;
		goto readArgs;
	}
	if(argIs("/E"))
	{
		calcEffect = toValue(nextArg()); // 0 == , 1 ` IMAX, ͈͊O -> calc()error();
		goto readArgs;
{'fraction_non_alphanumeric': 0.24067796610169492, 'fraction_numerical': 0.10067796610169491, 'mean_word_length': 2.451461988304094, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 78, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 6, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6110671', 'n_tokens_mistral': 1690, 'n_tokens_neox': 1381, 'n_words': 305}