https://github.com/ridiculousfish/libdivide
http://libdivide.com/