Convert form Base 2 to 10

Description

Converts large integers form base 2 to base 10 using mpfr numbers by Pmpfr package.

Usage

1
toBaseTen(x, m = 128, prec = 256, toFile = FALSE, file)

Arguments

x

an m-by-k binary matrix including the data in base 2.

m

desired bit length in the output.

prec

precision of the calculations.

toFile

if TRUE, the resulting numbers are written on a file.

file

the path of the file to which the output is written.

Value

dat

an m-by-k matrix that contains the input data in base 10 format.

Author(s)

Haydar Demirhan

Maintainer: Haydar Demirhan <haydarde@hacettepe.edu.tr>