TRIO_PRIVATE double TrioLogarithmBase TRIO_ARGS1((base), int base)
{
	switch (base)
	{
		case BASE_BINARY:
			return 1.0;
		case BASE_OCTAL:
			return 3.0;
		case BASE_DECIMAL:
			return 3.321928094887362345;
		case BASE_HEX:
			return 4.0;
		default:
			return TrioLogarithm((double)base, 2);
	}
}
TRIO_PRIVATE double TrioLogarithmBase TRIO_ARGS1((base), int base)
{
	switch (base)
	{
		case BASE_BINARY:
			return 1.0;
		case BASE_OCTAL:
			return 3.0;
		case BASE_DECIMAL:
			return 3.321928094887362345;
		case BASE_HEX:
			return 4.0;
		default:
			return TrioLogarithm((double)base, 2);
	}
}