Anonymous

Not logged in

  • Log in
OS-Tan Collections Wiki

Page history

From OS-Tan Collections Wiki

Namespaces

  • Module
  • Discussion

More

  • More

Page actions

  • Read
  • View source
  • History
Exponential search

Exponential search

4 December 2023

  • Halian

    Created page with "-- This module provides a generic exponential search algorithm. requirestrict local checkType = require('libraryUtil').checkType local floor = math.floor local function midPoint(lower, upper) return floor(lower + (upper - lower) / 2) end local function search(testFunc, i, lower, upper) if testFunc(i) then if i + 1 == upper then return i end lower = i if upper then i = midPoint(lower, upper) else i = i * 2 end return search(testFunc, i, low..."

    23:45

    +1,092

Retrieved from "https://www.ostan-collections.net/wiki/index.php/Special:History/Module:Exponential_search"

Navigation

Navigation

  • Main Page
  • List of OS-tans
  • Community forums
  • OS-Tan Gallery
  • Recent changes
  • Random page
  • Help

Wiki tools

Wiki tools

  • Special pages

Page tools

Page tools

    User page tools

      More

      • Printable version
      • Attribution-Non-Commercial-Share Alike 2.0 France
      • Powered by MediaWiki
      • Privacy policy
      • About OS-Tan Collections Wiki
      • Disclaimers
      • Desktop