Skip to content

Submodule consisting of routines built largely atop bitwise operations.

Notifications You must be signed in to change notification settings

ggcrunchy/bitwise_ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitwise_ops

Submodule consisting of routines built largely atop bitwise operations.

STATUS

Non-count operations are mostly functional, though the comments and docs could stand some improvement.

This is pretty open-ended feature-wise, as a lot of things fall into the category of bitwise operations, so things will be added as they're needed.

The "operators" module can be ignored if the require()'ing code knows it has a proper bit library handy; it is merely a way to put the detection / fallback logic all in one place.

DEPENDENCIES

Tested on Lua 5.1. (Bit vector test here.)

The vector module depends on unsigned division constants support, which is in the rather unstable number_ops directory (logically it's four or five submodules, I think). However, the division module will probably be one of the survivors. In any event, the function in question is easy enough to inline.

About

Submodule consisting of routines built largely atop bitwise operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages