Module:Unicode data: Difference between revisions

Module:Table has been renamed to Module:TableTools
m (1 revision imported)
 
(Module:Table has been renamed to Module:TableTools)
Line 13: Line 13:
local function binary_range_search(codepoint, ranges)
local function binary_range_search(codepoint, ranges)
local low, mid, high
local low, mid, high
low, high = 1, ranges.length or require "Module:Table".length(ranges)
low, high = 1, ranges.length or require "Module:TableTools".length(ranges)
while low <= high do
while low <= high do
mid = floor((low + high) / 2)
mid = floor((low + high) / 2)
Anonymous user