Added some constants and inline functions
Merge pull request #6 from Coeuvre/master

Added some constants and inline functions