Wafl Home

Primitive Data Types Tutorial

Function log

Float function log(x) computes logarithm log10x of a given float value x. It is defined for positive float values.

Source code:

{#
log( 1000000. ),
log( 1.0 ),
log( 1000000. )
#}

Result:

{# 6.000000, 0.000000, 6.000000 #}

 

Table of Contents

Let's Start

Program Structure

Primitive Data Types

List

Tuple

Record

HTML

Command Line Interpreter

Using Web Servers

Syntax

Examples

Tips

The most of examples evaluates with both command line and Web server Wafl interpreters. If any example is based on specific features of an interpreter, it is explicitly annotated.