log: Logarithms and Exponentials

logR 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)


float documentation built on Feb. 16, 2023, 6:43 p.m.