log10()

log10(x) returns log of input number x with base 10
import math
print(math.log10(2))  # 0.3010299956639812
print(math.log10(4))  # 0.6020599913279624
print(math.log10(5))  # 0.6989700043360189
Using negative number
For any value less than or equal to 0 , we will get ValueError
import math
print(math.log10(-2))
print(math.log10(0))
Above code will generate error.

log2 log1p() log()


plus2net.com



Post your comments , suggestion , error , requirements etc here




We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2020 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer