~/bend-docscommunity

consts.bend checks

raw source on the hub · import 0x9c00036bcd9556a4ab0f442a1bdecc28/consts.bend as Consts

Generated by Element's gen_math_consts.py; do not edit by hand. floor(c * 2^B) for the constants lib/math/elem.bend uses, B = 1800, as 16-bit limbs, least significant first.

1 import
import Base

Definitions

def b source · line 6 · raw

U32

def ln2_n source · line 10 · raw

List<&2, U32>

floor(ln 2 * 2^1800)

def ln10_n source · line 21 · raw

List<&2, U32>

floor(ln 10 * 2^1800)

def pio2_n source · line 32 · raw

List<&2, U32>

floor(pi / 2 * 2^1800)

def twoopi_n source · line 43 · raw

List<&2, U32>

floor(2 / pi * 2^1800)