lib: fixed infinity on floats

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>
lib: cleaned trailing spaces in string

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib: fixed nan on floats

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
Merge remote-tracking branch 'alexandre/fix-float'