missing float case; added a few tests
updated docs