log {float}R Documentation

Logarithms and Exponentials

Description

exp/log functions.

Usage

## S4 method for signature 'float32'
exp(x)

## S4 method for signature 'float32'
expm1(x)

## S4 method for signature 'float32'
log(x, base = exp(1))

## S4 method for signature 'float32'
log10(x)

## S4 method for signature 'float32'
log2(x)

Arguments

x

A float vector/matrix.

base

The logarithm base.

Value

A float vector/matrix of the same dimensions as the input.

Examples

## Not run: 
library(float)

x = flrunif(10)
log(x)

## End(Not run)


[Package float version 0.3-2 Index]