math.log

FLOATmath.logFLOATx

Available inall subroutines.

Computes the natural logarithm (base e log) of the input x.

Example

sub vcl_deliver {
declare local var.foo FLOAT;
set var.foo = math.log(32); # result: 3.466...
}

See Also

math.E, math.LN2, math.LN10, math.LOG2E, math.LOG10E