REBOL Document

** - Function Summary


Summary:

Returns the first number raised to the second number.

Usage:

** number exponent

Arguments:

number - The number argument. (must be: number)

exponent - The exponent argument. (must be: number)

Description:

This is the operator for the POWER function.


    print 10 ** 2
    100.0


    print 12.345 ** 5
    286718.338524636

Related:

exp - Raises E (natural number) to the power specified.
log-10 - Returns the base-10 logarithm.
log-2 - Return the base-2 logarithm.
log-e - Returns the base-E (natural number) logarithm.
power - Returns the first number raised to the second number.


<Back | Index | Next>

Copyright 2004 REBOL Technologies