libdivide.h is awesome but the code is a little messy. Most of the mess comes from the comments. So I have cleaned up the comments: all C-style comments /* */ have been converted into // C++ comments. I have also inserted line breaks at column/character 80 for most comments.
I help improving the branchfree libdivide.h in the hope that you will merge it into the master branch soon.
P.S. I have not changed a single line of C/C++ code (only comments)
Hi,
libdivide.h
is awesome but the code is a little messy. Most of the mess comes from the comments. So I have cleaned up the comments: all C-style comments/* */
have been converted into//
C++ comments. I have also inserted line breaks at column/character 80 for most comments.I help improving the branchfree
libdivide.h
in the hope that you will merge it into the master branch soon.P.S. I have not changed a single line of C/C++ code (only comments)
Best regards, Kim