10. Least common multiple {VeryLargeIntegers}R Documentation

Least Common Multiple for vli Objects

Description

Computation of the least common multiple of two vli (Very Large Integers) objects.

Usage

lcmul(x, y)

## Default S3 method:
lcmul(x, y)

## S3 method for class 'numeric'
lcmul(x, y)

## S3 method for class 'vli'
lcmul(x, y)

Arguments

x

object of class vli or 32 bits integer

y

object of class vli or 32 bits integer

Value

object of class vli

Author(s)

Javier Leiva Cuadrado

Examples

x <- as.vli("125634750214756")
y <- as.vli("761048412524216246")
lcmul(x, y)

[Package VeryLargeIntegers version 0.2.1 Index]