DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ Log2()

static proto float Math::Log2 ( float x)
staticprivate

Returns the binary (base-2) logarithm of x.

Аргументы
xfloat Value whose logarithm is calculated.
Возвращает
float The binary logarithm of x: log2x.
If x is negative, it causes a domain error:
If x is zero, it may cause a pole error (depending on the library implementation).
Print( Math.Log2(1.0) );
>> 0.0
proto void Print(void var)
Prints content of variable to console/log.
void Math()
Определения EnMath.c:8

Перекрестные ссылки x.

Используется в DigestAgents() и PluginRecipesManagerBase::SortIngredientsInRecipe().