Thanks! Useful addition, it is going to be merge.
One aspect to be sorted out: I think `-lm` needs to be linked now for the module, because you include `math.h`. It is part of libc standard library project, so no extra package dependency, but a different lib file `libm.so`.
Maybe on some systems works without explicit linking, but I know some complain. It just needs in the Makefile of the module:
``` LIBS = -lm ```
Few other modules do it already. This can be an additional commit.