update licences

Signed-off-by: Marc Lefrançois <mlefrancois@mirego.com>
Add some new tests and example to test for rounding errors

Signed-off-by: Marc Lefrançois <mlefrancois@mirego.com>
Add some more tests for rounding errors

Signed-off-by: Marc Lefrançois <mlefrancois@mirego.com>
Ceil or floor position properly based on alignment

Signed-off-by: Marc Lefrançois <mlefrancois@mirego.com>
Merge pull request #16 from mirego/fixRoundingErrors

Fix rounding errors