Skip to main content

floatlog

warning

This function starts with lowercase letter.

คำอธิบาย

This function allows you to get the logarithm of a float value.

NameDescription
Float:valueThe value of which to get the logarithm.
Float:baseThe logarithm base.

ส่งคืน

The logarithm as a float value.

ตัวอย่าง

public OnGameModeInit()
{
printf("The logarithm of 15.0 with the base 10.0 is %f", floatlog( 15.0, 10.0 ));
return 1;
}

ฟังก์ชั่นที่เกี่ยวข้องกัน

  • floatsqroot: Calculate the square root of a floating point value.
  • floatpower: Raises given value to a power of exponent.