A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.hashicorp.com/terraform/language/functions/log below:

log - Functions - Configuration Language | Terraform

log returns the logarithm of a given number in a given base.

log(number, base)
Examples
> log(50, 10)
1.6989700043360185
> log(16, 2)
4

log and ceil can be used together to find the minimum number of binary digits required to represent a given number of distinct values:

> ceil(log(15, 2))
4
> ceil(log(16, 2))
4
> ceil(log(17, 2))
5

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4