lcmul: Least Common Multiple for vli Objects

View source: R/lcmul.R

10. Least common multipleR 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)

VeryLargeIntegers documentation built on May 31, 2023, 7:06 p.m.