Skip to main content

Module range_check

Module range_check 

Source
Expand description

Range check table

Re-exportsยง

use alloc::vec; ๐Ÿ”’
use alloc::vec; ๐Ÿ”’
use crate::circuits::lookup::tables::LookupTable; ๐Ÿ”’
use crate::circuits::lookup::tables::RANGE_CHECK_TABLE_ID; ๐Ÿ”’
use ark_ff::Field; ๐Ÿ”’

Constantsยง

RANGE_CHECK_UPPERBOUND
The range check will be performed on 12-bit values, i.e. those in [0, 2^12)
TABLE_SIZE

Functionsยง

range_check_table
A single-column table containing the numbers from 0 to RANGE_CHECK_UPPERBOUND (exclusive)