Fix: add support for primitive with precision such as float64
add unit test
Merge pull request #8 from infosia/is_primitive_fix

Fix: add support for primitive with precision such as float64