The OpenD Programming Language

mir.bignum.low_level_view

Low-level betterC utilities for big integer arithmetic libraries.

The module provides BigUIntView, and BigIntView, DecimalView.

Note: The module doesn't provide full arithmetic API for now.

Members

Functions

ceilLog10Exp2
T ceilLog10Exp2(T e)

Fast integer computation of ceil(log10(exp2(e))) with 64-bit mantissa precision. The result is guaranted to be greater then log10(exp2(e)), which is irrational number.

Structs

BigIntView
struct BigIntView(W)

Arbitrary length signed integer view.

BigUIntView
struct BigUIntView(W)

Arbitrary length unsigned integer view.

BinaryView
struct BinaryView(W)
DecimalView
struct DecimalView(W)

Meta