fix compilation warning
add additional comment to floating point example